dmitrytsepelev

Joined 7 years ago

Karma
125
Submissions
21
Member since
Jan 29
View on Hacker News

Recent submissions

Comment · 3 years ago
Memory bloat in Ruby happens when someone loads a lot of data to the memory. Ruby Virtual Machine does not return most of the allocated memory to the operating system even after data is collected as a garbage. It’s not a big deal for local development or console programs, but if you have a bloat in the big Rails app it might cost you a lot of money.

It is quite easy to find a fix memory bloat when it happens, but can we prevent it?

Comment · 4 years ago
Java does use string interning for constants. It can help in any case when you have a lot of instances of the same string (and when you need to compare that strings)
Comment · 4 years ago
Thank you for catching that! Not sure where my eyes were, feels like it's a remnant of another version of the sentence. Removed

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton