Skip to content

remove the -Xmx parameter, to avoid out of memory when generating PDF #669

@piradix

Description

@piradix

When you use lot of image in documentaion, the pdf maker crach with a "out of memory".
It is du to an option of Asciidoc "Xmx". it is seting to 1024M (very little)

Now (Java 17+) The JVM can use by design 80% of your computer memory if need (before it was 64M). Then your Xmx parameter restric memopry use, so it create a out of memory with PDF.

Solutions,
Trust in the JVM by remove this option of optimisation for serveur.
=> In the file option "AsciidocFX.vmoptions" remove -Xmx parametre.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions