| | |
Out of memory
![]() |
I am doing some very nasty computation using java but it always gives me a java.lang.OutOfMemory Error,after this nothing on the GUI works.i think its ok to have that error but atleast things should work afterwards.
Please Advise
Please Advise
•
•
Join Date: May 2004
Posts: 80
Reputation:
Solved Threads: 5
•
•
•
•
Originally Posted by nanosani
I am doing some very nasty computation using java but it always gives me a java.lang.OutOfMemory Error,after this nothing on the GUI works.i think its ok to have that error but atleast things should work afterwards.
Please Advise
Unless you're loading large amounts of data into memory (i.e. more than will fit in the memory allocated to the VM), this shouldn't happen. A common cause of this problem is some sort of out-of-control recursion. Try running your code with some sort of stack trace enabled so you can find at what point in your code the exception is being raised.
--sg
![]() |
Similar Threads
- Memory Leak While using ACE_Thread (C++)
- News Story: Memory man predicts smaller but brighter future (Upcoming News Stories)
- News Story: Mozilla Corp board member leaks the truth about Firefox memory loss (Web Browsers)
- External Memory Cache? (Motherboards, CPUs and RAM)
- dynamic memory alloc with "new" freezes OS9.2 (C++)
- Memory Managers (Windows 95 / 98 / Me)
Other Threads in the Java Forum
- Previous Thread: Conversions
- Next Thread: DrawHouse Code Problem
| Thread Tools | Search this Thread |
911 actionlistener addressbook android api append applet application array arrays automation binary block bluetooth character chat class client code component consumer csv database desktop developmenthelp eclipse error fractal ftp game gameprogramming givemetehcodez graphics gui html ide image integer j2me j2seprojects japplet java javaarraylist javac javaee javaprojects jni jpanel julia lego linked linux list loops mac map method methods mobile netbeans newbie number objects online oriented panel printf problem program programming project projects properties recursion replaydirector reporting researchinmotion rotatetext rsa scanner se server set singleton sms sort sql string swing test textfields threads time title tree tutorial-sample ubuntu update windows working






