Closed royvanrijn closed 7 months ago
OOMs now on the eval machine:
+ timeout -v 300 ./test.sh royvanrijn
Using java version 21.0.2-graal in this shell.
Validating calculate_average_royvanrijn.sh -- src/test/resources/samples/measurements-10000-unique-keys.txt
Picking up existing native image 'target/CalculateAverage_royvanrijn_image', delete the file to select JVM mode.
Exception in thread "Thread-27" java.lang.OutOfMemoryError: Garbage-collected heap size exceeded. Consider increasing the maximum Java heap size, for example with '-Xmx'.
Exception in thread "main" java.lang.OutOfMemoryError: Garbage-collected heap size exceeded. Consider increasing the maximum Java heap size, for example with '-Xmx'.
Exception in thread "Thread-23" java.lang.OutOfMemoryError: Garbage-collected heap size exceeded. Consider increasing the maximum Java heap size, for example with '-Xmx'.
Exception in thread "Thread-28" java.lang.OutOfMemoryError: Garbage-collected heap size exceeded. Consider increasing the maximum Java heap size, for example with '-Xmx'.
Fatal error: java.lang.OutOfMemoryError: Garbage-collected heap size exceeded. Consider increasing the maximum Java heap size, for example with '-Xmx'.
Ah strange, “worked on my machine”.
I’ll update the PR tomorrow with more lenient settings and some small tweaks.
Added some options in the prepare file, makes a small difference, also tweaked the code to eliminate even more cycles.
Check List:
./test.sh <username>
shows no differences between expected and actual outputs)calculate_average_<username>.sh
(make sure to match casing of your GH user name) and is executablecalculate_average_baseline.sh