3 ms·
You don't need a degree to set a max heap.
by Dylan16807 7y ago
You don't need a degree to set a max heap.
- dana321 7y agoI think their problem was the minimum heap size, thats why they have 10Gb sitting doing nothing, as the GC only doubles/halves its size in go. The way a gaming engine would do it would be to disable the GC and allocate a large chunk of memory and read/write directly to that memory. Its a pretty quick hack, not bad, really.