4 ms·
I agree that the JVM is a bigger memory douche than a vodka-and-Red Bull addict with a new haircut, but I disagree that GC is a "meh" problem. In fact it seems
by sehugg 15y ago
I agree that the JVM is a bigger memory douche than a vodka-and-Red Bull addict with a new haircut, but I disagree that GC is a "meh" problem. In fact it seems that the CLR is still evolving in this area and can have serious issues with multi-GB heaps -- as does Java unless you incant the right incantations:
http://www.simple-talk.com/dotnet/.net-framework/the-dangers-of-the-large-object-heap/ http://www.simple-talk.com/dotnet/.net-framework/the-dangers...
Of course, one might say "don't use such big heaps dummy!" But that's a workaround. Due to fragmentation, sub-second GC latency is still a tough problem even for 1-2 GB heaps.
If C# would lead the way in a GC-friendly memory management scheme (maybe regions or something similar) they might win a lot of Java converts.
- old-gregg 15y agoHaha, great comment. Upvoted, and thanks for the link! :)