Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

WithoutBook Forum

Ques. How to monitor Java Garbage Collection memory?

- I am reading a long txt file and where it takes much memory. But I could not analyze the memory where exactly it is taking time. Please suggest.

Posted on Jul 13, 2014 by Firoz
Ans. Use VM memory analyzing tool VisualVM. Or you can go for JProfiler.
These tools provides you all the details on memory according to thread, method, object where you can analyze the same very easily.
Posted on Jul 13, 2014 by Arindam

Enter your Answer

Name
Email Address
Answer
©2024 WithoutBook