heap memory usage increasing over time with a fixed live set size

Aleksey Shipilev shade at redhat.com
Fri Nov 1 15:31:33 UTC 2019


On 10/9/19 2:52 PM, Amir Hadadi wrote:
> I see that when a degenerated gc occasionally happens due to allocation failure, class unloading gets the memory back to baseline level.
> The logs also show that there's a serious amount of strings being removed from the string table, probably due to Jackson interning field names.

I knew that sounded familiar:
  https://github.com/FasterXML/jackson-core/issues/378
  https://github.com/FasterXML/jackson-core/issues/332

If I read those threads right, if you upgrade to Jackson 3.0+, field names interning would go away.
Ditto should happen if you override JsonFactory.Feature.INTERN_FIELD_NAMES to false.

-- 
Thanks,
-Aleksey



More information about the shenandoah-dev mailing list