You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
The text was updated successfully, but these errors were encountered:
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 ofJAVA_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)The text was updated successfully, but these errors were encountered: