Skip to content

Netlogo Heap  #8

@ptheywood

Description

@ptheywood

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions