What garbage collector were you testing with?
You wont be able to go above 2GB with the default one. As there should be some space left for the garbage collector to operate. With the recent addition of Incremental GC, though, it should be possible to get close to 4GB. However, I don’t know what the safe limit is (until the canister becomes unresponsive). @icme did some testing Incremental testing results - from the Incremental GC :)
2 Likes