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

Netlogo Heap #8

Open
ptheywood opened this issue Nov 14, 2022 · 0 comments
Open

Netlogo Heap #8

ptheywood opened this issue Nov 14, 2022 · 0 comments

Comments

@ptheywood
Copy link
Member

If models are scaled up to the extent that more than 1024MB of JVM heap are requried, the netlogo_headless.sh distribtued with netlogo is insufficient.

If this occurs, the script does not return, hanging indefinately.

The postprocessing of stdout from this consumes this error message, so from a runall.sh it just looks like it's waiting for netlogo to run.


The explicit setting of -Xmx1024m in /opt/netlogo/netlogo-headless.sh prevents use of JAVA_TOOLS_OPTIONS=-Xmx8192m (or the implicit default of 1/4 system memory) to override this, allowing larger netlogo models.

This could be resolved, when using a container, by mutating this file during netlogo installation, removing the limit, then setting JAVA_TOOLS_OPTIONS to a sane value for the container if required (plus documenting for users)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant