Closed janehmueller closed 11 months ago
Thanks, this needs to be monitored and reported to the GraalVM team. As the warning suggests, the cache size can be increased, for example via:
trufflesqueak --vm.XX:ReservedCodeCacheSize=256M ...
We might also want to experiment with the latency mode, which I think turns off inlining and splitting, which in turn should reduce compiled code sizes significantly:
trufflesqueak --engine.Mode=latency ...
You can also disable Truffle compilation entirely via:
trufflesqueak --engine.Compilation=false --experimental-options ...
The code cache shouldn't get filled up entirely when this is enabled, otherwise we'd really need to look into this. It's certainly something we should try. In any case, I'd appreciate your feedback on any of these three command line flags and how they improve (or even worsen) the problem.
I cannot reproduce this anymore, so maybe this got fixed along the way :crossed_fingers:
If I run my TruffleSqueak image for a longer time (which increases performance due to the jit) I get the following warning: