Closed tueda closed 6 months ago
Yes this looks good. With a 4G limit you can crash with the version of the test in https://github.com/vermaseren/form/issues/508#issuecomment-2092414213 with i running to 5000, in 0.8s. This configuration causes a ~20GB virt.
This may resolve the problem in https://github.com/vermaseren/form/pull/509#issuecomment-2090771016; "no memory" failures are system-dependent.
For example, in the following test fold:
the maximum virtual memory is limited to
4*1000*1000*1024
~ 4 GB (at least, bash and fish seem to supportulimit -v
). If you decrease the memory size to2_000_000
, then the FORM job fails due to insufficient memory.With a fixed maximum memory size (and the same word size), it must be easy to reproduce a memory shortage in a certain situation.
@jodavies Can you try this?