Byte[]/char[] taking up most of the heap space

Questions about YourKit Java Profiler
Post Reply
singharun
Posts: 1
Joined: Sat Sep 26, 2015 3:56 pm

Byte[]/char[] taking up most of the heap space

Post by singharun »

Hi All,
i have been profiling my application and have found out that byte[] and char[] takes the most of the space when the heap memory of my application goes out of memory.
Please can anybody suggest how i can trace where these objects are being created.
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: Byte[]/char[] taking up most of the heap space

Post by Anton Katilin »

To see why these objects retain in memory:
https://www.yourkit.com/docs/java/help/merged_paths.jsp

To see where objects are created use object allocation recording:
https://www.yourkit.com/docs/java/help/allocations.jsp
Post Reply