Memory Leak in com.fasterxml.jackson.databind.ObjectMapper

Viewed 18

Not quite sure if this is a Jackson question or a Springboot question, or Jetty:

My microservice became unresponsive in production apparently due to excessive memory usage (telling from OS RSS stat) but no OOM.

I obtained a heap dump via jcmd [pid] GC.heap_dump and later opened it in Eclipse Memory Analyzer Tool (MAT) installed via Eclipse Marketplace.

I'm greeted by this finding:

enter image description here

I think this says Jackson ObjectMapper ate 80% of my heap (395M out of the default 512M size).

What would cause this and how can I prevent it?

0 Answers
Related