logoalt Hacker News

kaspernitoday at 6:56 PM2 repliesview on HN

Are people still dealing with GC issues?

I find that it basically just more or less works out of the box on modern JVMs.


Replies

hylaridetoday at 7:16 PM

There are edge cases where GC issues can crop up, in particular specific "serverless" models (eg AWS lambdas) where the JVM can get "paused" between executions and GC doesn't cleanly run, causing memory to trend upwards until the next cold-start happens (especially if you're running it within a docker container yourself). Limited CPU situations that can exist in these kinds of runtime environments also limit GC in several ways, too.

show 1 reply
kelseyfrogtoday at 7:32 PM

It's selection bias. There's a huge number of GC language users, but those who experience problems tend to be the ones who comment.

You're right; the vast majority of people use GC just fine and go about their day. We should update little to none when we see evidence of GC hardship.

show 1 reply