Skip to content
Advertisement

Tag: memory-leaks

UsageMemory threashold in JConsole

I am looking into how to use JConsole to detect memory leaks. I see that in Memory Pool in my MBeans I can define UsageThreashold for my Tenured Generation. So if my application exceeds this threashold the heap memory becomes red in the Memory tab. Question: How does this help? I mean how am I supposed to use this setting

How to find root of memory leaks?

My app is basicly and image editor. There is a welcome page which opens main activity with an intent. If orientation changes when main activity is working the memory consumption simply doubles up and remains that way. If i close the main activity turn back to welcome activity and start main activity again same problem does not occur. I think

OutOfMemory Exception – how does VisualVM help locate the memory leak with heapdump file?

I’ve been testing my webapp locally on my pc and monitoring it with VisualVM. I recently also started using JMeter, as it was suggested that I should do some load testing since I suspected that I have a slow memory leak somewhere. Today my webapp finally threw the OutOfMemory exception. I had the HeapDumpOnOutOfMemoryError and HeapDumpPath params set in case

Advertisement