Fully featured low overhead profiler for Java EE and Java SE platforms.
Ultimate profiling and monitoring solution for Gradle, Maven, Ant, JUnit and TestNG.
Easy to use performance and memory profiler for .NET framework.

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

Moderators: Vladimir Kondratyev, Anton Katilin

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

Postby singharun » Sat Sep 26, 2015 4:04 pm

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.
singharun
 
Posts: 1
Joined: Sat Sep 26, 2015 3:56 pm

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

Postby Anton Katilin » Tue Oct 06, 2015 2:14 pm

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
Anton Katilin
 
Posts: 5575
Joined: Wed Aug 11, 2004 8:37 am


Return to Java Profiler

Who is online

Users browsing this forum: Bing [Bot] and 8 guests