4 ms·
This claim about gc seems pretty dubious since gc algorithms tend to take time proportional to the number of allocated objects, not the amount of available heap
by StefanKarpinski 14y ago
This claim about gc seems pretty dubious since gc algorithms tend to take time proportional to the number of allocated objects, not the amount of available heap. So adding heap doesn't slow things down unless you use it. Also, using 10x more heap ought to only make your gc pauses 10x longer.