I have a Java application that runs out of memory, but I have no idea what code allocates memory. Is there an application with which I can test this? I am using Eclipse.
Since you are using eclipse, I would recommend the Eclipse Memory Analyzer plugin . This tool works great and will even provide a report with likely suspected leaks. I looked at heaps of 1G soil without any problems. I just use jconsole included in the JDK to get a dump.
Also here is a great blog about using the tool by one of the authors of this tool.
It is also free.
I had great success with JProfiler
http://www.ej-technologies.com/products/jprofiler/overview.html
VisualVM - , JDK . , , Java SE.
JDK.
Profiler.
.
. Sun JVM Tool Interface , JProfiler. Eclipse , (TPTP).
, , Netbeans.
Yourkit - , . Eclipse TPTP. ( JVM), J2EE.
Eclipse jvm, hprof . ( .).
, 2.6G. 20, . Eclipse 10G. , , .
, , , OutOfMemory.
, HP Diagnostics Profiler ( 5 ). , .
Source: https://habr.com/ru/post/1722354/More articles:Firebird, which driver? - delphiHow to disable multiple lists at once using jQuery? - jqueryИдентификация состояния бездействия на машине Windows - windowsWhere can I find information on creating a WCF data services custom data provider data provider? - wcf-data-servicesSegmentation error in stl map <> - c ++Scala and tail recursion - scalaChoosing the next brother $ (this) .parent () - javascripthttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1722357/what-extensions-to-the-language-does-the-c-compiler-implement&usg=ALkJrhjQX8GHRI5_H6_Z_1M6R8enkSCG1QWhich would you prefer? SVG, HTML5 or regen'd-PNG for graphs and charts? - html5How to check if node has siblings? - javaAll Articles