Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Out of memory error:permgen space

 
sarvan kumar
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am facing Out of memory error:perm gen space when i am clean and build all the project this error occur and automatically the eclipse closes. I am using Eclipse 3.5 and jboss server 4.2.0.

I have deleted the server and deleted the eclipse 3.5 folder and put the new one of eclipse 3.5 and jboss 4.2 server but i am facing the same error

I have also increase the eclipse.ini file
the value of perm gen space error

--launcher.XXMaxPermSize
256M

to 512 but no change

Can anyone having the solution

Thanks,
K.Saravanan
 
Ranil Liyana Arachchige
Ranch Hand
Posts: 71
Hibernate Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Saravanan,

Can you post the exception stack trace as well, other than that does the OME occur when you start the server or when you try to access an application deployed on the server ?
 
uttam kumar
Ranch Hand
Posts: 128
Eclipse IDE Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Sarvan,
This forum is only for JBoss related queries. Your problem is related to eclipse so please ask this to IDE forum.
 
sarvan kumar
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
When i give clean and buildall to the project i get the following in the log file

!SESSION 2011-01-25 10:08:53.546 -----------------------------------------------
eclipse.buildId=I20090611-1540
java.version=1.6.0_21
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.epp.package.jee.product --launcher.XXMaxPermSize=1024M --launcher.XXMaxPermSize=1024m
Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.jee.product --launcher.XXMaxPermSize=1024M --launcher.XXMaxPermSize=1024m

!ENTRY org.eclipse.mylyn.tasks.core 2 0 2011-01-25 10:09:34.207
!MESSAGE Failed to load tasks.xml.zip, restoring from snapshot
!STACK 1
org.eclipse.core.runtime.CoreException: Task list file not found "E:\EVENTPORTALWORKSPACE1.0\.metadata\.mylyn\tasks.xml.zip"
at org.eclipse.mylyn.internal.tasks.core.externalization.TaskListExternalizer.readTaskList(TaskListExternalizer.java:190)
at org.eclipse.mylyn.internal.tasks.core.externalization.TaskListExternalizationParticipant$1.execute(TaskListExternalizationParticipant.java:78)
at org.eclipse.mylyn.internal.tasks.core.TaskList.run(TaskList.java:657)
at org.eclipse.mylyn.internal.tasks.core.externalization.TaskListExternalizationParticipant.load(TaskListExternalizationParticipant.java:82)
at org.eclipse.mylyn.internal.tasks.core.externalization.AbstractExternalizationParticipant.performLoad(AbstractExternalizationParticipant.java:83)
at org.eclipse.mylyn.internal.tasks.core.externalization.TaskListExternalizationParticipant.performLoad(TaskListExternalizationParticipant.java:87)
at org.eclipse.mylyn.internal.tasks.core.externalization.AbstractExternalizationParticipant.execute(AbstractExternalizationParticipant.java:73)
at org.eclipse.mylyn.internal.tasks.core.externalization.ExternalizationManager$1.run(ExternalizationManager.java:118)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.mylyn.internal.tasks.core.externalization.ExternalizationManager.load(ExternalizationManager.java:107)
at org.eclipse.mylyn.internal.tasks.core.externalization.ExternalizationManager.load(ExternalizationManager.java:85)
at org.eclipse.mylyn.internal.tasks.ui.TasksUiPlugin.initializeDataSources(TasksUiPlugin.java:786)
at org.eclipse.mylyn.internal.tasks.ui.TasksUiPlugin.start(TasksUiPlugin.java:576)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:782)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:773)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:754)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:352)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:280)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:408)
at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:111)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:449)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:211)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:376)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:452)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:405)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:393)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:105)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:321)
at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:231)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1193)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:160)
at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:874)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51)
at org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugin.java:267)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:52)
at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:263)
at org.eclipse.ui.internal.EarlyStartupRunnable.getExecutableExtension(EarlyStartupRunnable.java:117)
at org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:66)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.Workbench$55.run(Workbench.java:2192)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
!SUBENTRY 1 org.eclipse.mylyn.tasks.core 4 0 2011-01-25 10:09:34.207
!MESSAGE Task list file not found "E:\EVENTPORTALWORKSPACE1.0\.metadata\.mylyn\tasks.xml.zip"

!ENTRY org.eclipse.ui 4 0 2011-01-25 10:11:21.296
!MESSAGE Unhandled event loop exception

!ENTRY org.eclipse.core.jobs 4 2 2011-01-25 10:11:23.093
!MESSAGE An internal error occurred during: "Building Workspace".

!ENTRY org.eclipse.core.jobs 4 2 2011-01-25 10:11:25.529
!MESSAGE An internal error occurred during: "Validation EVENTPORTALSPRING".

!ENTRY org.eclipse.ui 4 0 2011-01-25 10:11:32.106
!MESSAGE Unhandled event loop exception

!ENTRY org.eclipse.core.jobs 4 2 2011-01-25 10:11:41.354
!MESSAGE An internal error occurred during: "Building workspace".

!ENTRY org.eclipse.core.jobs 4 2 2011-01-25 10:11:47.399
!MESSAGE An internal error occurred during: "Building workspace".

!ENTRY org.eclipse.core.jobs 4 2 2011-01-25 10:11:59.240
!MESSAGE An internal error occurred during: "Building workspace".

Can anyone plese give the solution for this?

Thanks,
K.Saravanan

 
Vijitha Kumara
Bartender
Pie
Posts: 3918
10
Chrome Fedora Hibernate
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What's your JDK version? Something similar from Eclipse forums here
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The stack trace you posted has nothing to do with an OOME, instead it is complaining about a missing file: E:\EVENTPORTALWORKSPACE1.0\.metadata\.mylyn\tasks.xml.zip

If you didn't accidently delete that file, and cannot restore it, you might need to reinstall Eclipse (unless there is someone on the IDE forum that has some other ideas).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic