Skip to content
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 process: command-line change to mn2pdf stack and heap space #326

Open
1 task
ronaldtse opened this issue Apr 1, 2024 · 1 comment
Open
1 task
Assignees
Labels
enhancement New feature or request

Comments

@ronaldtse
Copy link
Contributor

ronaldtse commented Apr 1, 2024

We need to expose the thread stack and heap space memory limits of mn2pdf for conditions like this:

Where the 2GB limit to heap space does not allow PDF generation to complete.

I propose that we use something like:

--java-heap-min {defaults to 512m}
--java-heap-max {defaults to 2g}
--java-threadstack-max {defaults to 5m}

And this goes into the mn2pdf-ruby library as well.

Depends on:

@Intelligent2013
Copy link

From https://github.com/metanorma/iso-2533/issues/20:

We need to document when additional heap space is needed too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: 🌋 Urgent
Development

No branches or pull requests

3 participants