Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It is true. One of the reddit comment states that they divided the latency by 5 after they reconfigured the min and max heap properly and let the program run for longer.

The GC is in a constant battle to keep the program running within memory bounds.

If you make it think that the program can run in 20MB by not giving a setting, it will try to fit the program in 20MB and clean the heap all the time (till it gives up and grow the heap).

The GC needs to know it's bound to it doesn't bother running when not necessary AND it can decide how much space is available to keep short/long lived objects.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: