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.
Byte[]/char[] taking up most of the heap space
-
- Posts: 1
- Joined: Sat Sep 26, 2015 3:56 pm
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Re: Byte[]/char[] taking up most of the heap space
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
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