-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PDF: Exception in thread "main" java.lang.OutOfMemoryError: Java heap space #147
Comments
@Intelligent2013 so this current branch/document is problematic because it is broken. The entire document body is treated as a single source code block. This is likely the cause of the problem. I'm not sure if it's worth investigating or fixing. |
@ronaldtse yes, I sure that the issue occurs due the big sourcecode block. The reason in the file ====== Waterway_function.xml
lutaml_gml_dictionary::iur/codelists/3.1/Waterway_function.xml[template="gml_dict_template.liquid",context=dict]
----
{% render 'gml_dict_template', root: root, filename: filename %}
====== WaterwayDetailAttribute_routeDirection.xml I've tried to add ----
{% render 'gml_dict_template', root: root, filename: filename %}
---- but now the errors occurs about the missing
|
I've found the updates in https://github.com/metanorma/mn-samples-plateau/pull/146/files already. |
Thanks @Intelligent2013 . |
@Intelligent2013 and @ronaldtse thanks guys for working on this so promptly! |
Source issue: #129
Source document: https://github.com/metanorma/mn-samples-plateau/tree/main/sources/001-v4
The Java heap space is 3Gb (
-Xmx3g
):java -Xss10m -Xmx3g -Djava.awt.headless=true -Duser.home=C:/Users/TestUser -jar C:/tools/ruby31/lib/ruby/gems/3.1.0/gems/mn2pdf-1.96/bin/mn2pdf.jar --xml-file "C:/Users/TestUser/AppData/Local/Temp/document20240820-14216-nqjje3.xml" --xsl-file "C:/tools/ruby31/lib/ruby/gems/3.1.0/gems/metanorma-plateau-0.1.3/lib/isodoc/plateau/plateau.international-standard.xsl" --pdf-file "D:/Work/Metanorma/repositories/mn-samples-plateau/sources/001-v4/document.pdf" --syntax-highlight --font-manifest "C:/Users/TestUser/AppData/Local/Temp/fontist_locations20240820-14216-xsjmpq.yml"
Output:
The text was updated successfully, but these errors were encountered: