By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,315 Members | 1,736 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,315 IT Pros & Developers. It's quick & easy.

java.lang.OutOfMemoryError

P: 13
Hi
i am getting an error java.lang.OutOfMemoryError while running a few java files.
i have already increased JVM heap memory (Xmx=512 and Xms=512 from 256). but this didnot fix my problem.
the RAM of my system is 1GB. Please suggest me what should be done in order to solve this issue
Nov 23 '07 #1
Share this Question
Share on Google+
1 Reply


Expert 10K+
P: 11,448
Hi
i am getting an error java.lang.OutOfMemoryError while running a few java files.
i have already increased JVM heap memory (Xmx=512 and Xms=512 from 256). but this didnot fix my problem.
the RAM of my system is 1GB. Please suggest me what should be done in order to solve this issue
Probably your program suffers from some sticky memory, e.g. you keep on
adding Listeners from within a Listener. Or in another way you keep references
lingering to objects you don't need anymore. Who can tell? You have to elaborate
a bit more and/or show some code you suspect.

kind regards,

Jos
Nov 23 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.