I'am solving JVM memory leak,this is what i know so far:
As you can see old generation space fills you very quickly.
Does anyone knows how which objects allocates memory? Or have some hints how to solve it?
You can try to create a HeapDump (eg via JVisualVM) to check which objects are still referenced. Via Eclipse MAT you can analyze this dump. Only objects which are not referenced any more are automatically removed by the GC.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.