Skip to content
Advertisement

Tag: out-of-memory

java, OutOfMemoryError: Java heap space

This class is designed to determine the language of a text; the user has to enter 4 text in english, danish, italian and latin, and then the text whose language he wants to determine. The console says I use eclipse, in Run Configurations – Arguments I wrote -Xms2g-Xmx3g. I don’t understand where is the problem. The code is Answer This

PageOutputStream causing java.lang.OutOfMemory

We have a struts2 web application running in Tomcat 7 that is intermittently experiencing the same problem: Application operating perfectly normally After a variable amount of time (anywhere from 10 minutes to 7 days) the application slows down to a halt Multiple java.lang.OutOfMemory errors in catalina.out Linux free -m shows all physical and swap memory is used up (even though

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