Heap fragmentation due to pinned and dosed objects | Identify Java stack that creates large objects
Heap fragmentation due to large objects
Often heap fragmentation is caused by large Java objects. Prior to launch into production, developers should monitor garbage collection and try to avoid creating large objects because of inefficient code.