[jboss-user] [Beginner's Corner] - java heap space
Steve Jagels
do-not-reply at jboss.com
Tue Jul 24 11:18:54 EDT 2012
Steve Jagels [https://community.jboss.org/people/sej] created the discussion
"java heap space"
To view the discussion, visit: https://community.jboss.org/message/749949#749949
--------------------------------------------------------------
I've been using eclipse 5.5.1, but I recently went to a new machine and I've been asked to go to MyEclipse 10.5. Code that was running fine in 5.5.1 is now getting a java heap space error in 10.5. The 10.5 eclipse.ini file has:
#utf8 (do not remove)
#utf8 (do not remove)
-startup
../Common/plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.library
../Common/plugins/org.eclipse.equinox.launcher.i18n.win32.win32.x86_64_4.2.0.v201201111650
-install
C:\Java\MyEclipse10.5\MyEclipse 10
-vm
C:\Java\MyEclipse10.5\Common\binary\com.sun.java.jdk.win32.x86_64_1.6.0.013\bin\javaw.exe
-configuration
C:\Java\MyEclipse10.5\MyEclipse 10\configuration
-vmargs
-Xmx512m
-XX:MaxPermSize=256m
-XX:ReservedCodeCacheSize=64m
-Dosgi.nls.warnings=ignore
So I decided to bump up some of the numbers:
-Xms1024m
-Xmx2048m
But I still get the java heap space. And I've tried upping the MaxPermSize and ReservedCodeCacheSize and those do not fix anything.
When I remove the sql driver file from the jboss lib directory, I no longer get the java heap space error, but of course then I get a different error because it does not find any driver file.
So any ideas for this?
I'm using jboss 4.0.4 and jdk 1.5.0.17.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/749949#749949]
Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120724/d2f58b6d/attachment-0001.html
More information about the jboss-user
mailing list