|
|
|
|
|
by jlouis
5184 days ago
|
|
While this is a correct observation, the one about 512Mb contiguous memory being fragmented that early is not really the most clever construction of an operating system I have seen. It argues that while you can get 2Gb (or 3Gb, ...) you cannot get a contiguous space larger than X megabytes. That said, it is a rather odd limitation of the garbage collector as well. Most GCs works around the problem by being able to allocate memory in chunks that are different. Still - this solution, one large chunk, is by far the simplest and fastest solution to the problem. |
|
I think that a combination of allocating more to userland, killing all the default services and trimming the server, along with telling the memory manager to treat go as a background process would solve this.