Is it possible to check for a memory leak without going into the code. I have an application with me and I want to check if there is a memory leak or not.
In my current organization, I check the processor usage before and after running the application, as well as the processor usage of the application process. But I do not think this is the right method.
Please advise me in this regard.
I think you need a memory profiler to do this.
Here you can find a list of profilers.
Open Source Profilers for Java
also read this article on
Search for memory leaks in Java applications
Java :
-Dcom.sun.management.jmxremote
jconsole. jconsole - , Java bin, java. ( , ). Java ( 1.6) jvisualvm, jconsole, , , .
jconsole
bin
java
jvisualvm
, Java, . , .
- " " (, SendKeys ), . , . , , . , , , / .
, , (. ).
Java OS, IMHO. JVM , JVM . , JVM, , JVM.
, JDK (jstat, jconsole, jvisualvm), . . Java . , GC , , .
: , GC, . ( ), OutOfMemory .
, , - , "" . , .
, , . .
unix c valgrind
Source: https://habr.com/ru/post/1718248/More articles:How to analyze / intercept packets before sending / receiving the OS? - networkingError "unable to open website" error message from VS 2008 on Vista - visual-studio-2008How to associate javascript event handler with Ajax Control Toolkit drop-down list when changing text field - javascriptGet every combination of strings - pythonTag cloud number generation for these three tables - sqlhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1718249/alternatives-to-php-inarray-for-large-arrays-for-avoiding-duplicates-entries&usg=ALkJrhgypDDhOD-CiPRM_geGHq9hIymePgC ++ multiple inheritance and Objective-C. Is this a bug in GCC? - c ++ASP.NET MVC controllers initialize correctly during testing - asp.net-mvcNew sql connection for each request? - multithreadingAdding a Datapoint Table to Excel with VBA - vbaAll Articles