I am doing very small program in java using Eclipse Kepler IDE. I am allocating the size of the array at run time using the following statement. so as per my knowledge the java program runs with some of its own heap space like 32 MB. And for my program i think this space is enough. I just given the
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
Java GC overhead limit exceeded – Custom solution needed
I am evaluating different data from a textfile in a rather large algorithm. If the text file contains more than datapoints (the minimum I need is sth. like 1.3 million datapoints) it gives the following error: When I’m running it in Eclipse with the following settings for the installed jre6 (standard VM): Note that it works fine if I only
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 do I give Jenkins more heap space when it’s running as a daemon on Ubuntu?
My Jenkins jobs are running out of memory, giving java.lang.OutOfMemoryError messages in the build log. But I used the Ubuntu Package Manager, aptitude, or apt-get to install Jenkins, and I don’t know where to look to change the amount of heap space allocated to Jenkins. Answer There are two types of OutOfMemoryError messages that you might encounter while a Jenkins
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