2 ms·
It's because GCs are starting to take a long time now that there is so much stuff to keep in memory. Items are lazily loaded, but they never get unloaded. Eve
by pg 17y ago
It's because GCs are starting to take a long time now that there is so much stuff to keep in memory. Items are lazily loaded, but they never get unloaded. Eventually (after a day or so) crawlers drag everything into memory, and GCs take excessively long. I plan to fix the problem by starting to dump stuff back out of memory. In the meantime I just restart HN when it's starting to spend too much time GCing, which in effect dumps everything out of memory except the most recent 15k items.
- jacquesm 17y agoHow frequently does this happen ? A surefire way seems to be to load the top 10 submitters history, those are pretty big, since only the last 300 can be used to build pages anyway maybe you can do a digest there and not load the whole thing ?