Issue
When running cucumber tests, the JVM is launched with a heap size that is much smaller than is typically used when running the models "in the wild".
|
|
|
public static final String XMX_PARAM = "-Xmx4096m"; |
|
public static final String XSS_PARAM = "-Xss1024K"; |
|
|
Proposed Fix
A more practical memory limit is around 12 GB. At DWR we have a "help" page where the recommend value is currently 100,000 MB 😆.
Other context
WRIMS 2 has had changes since we "forked" where this defaults to 60% of the systems available RAM. The user can still modify this through Run > Option > Allocated Memory (mb) in the GUI.
Issue
When running cucumber tests, the JVM is launched with a heap size that is much smaller than is typically used when running the models "in the wild".
wrims-engine/wrims-comparison-test/src/test/java/gov/ca/water/wrims/comparison/utils/ComputeTestUtils.java
Lines 20 to 23 in a5448dd
Proposed Fix
A more practical memory limit is around 12 GB. At DWR we have a "help" page where the recommend value is currently 100,000 MB 😆.
Other context
WRIMS 2 has had changes since we "forked" where this defaults to 60% of the systems available RAM. The user can still modify this through
Run > Option > Allocated Memory (mb)in the GUI.