Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Export Product / GC Error(Internal Error: collecting garbage)
Export Product / GC Error [message #725625] Thu, 15 September 2011 07:25 Go to next message
Eclipse UserFriend
Hi all,

I am using the eclipse export product wizard to export a rcp product, however, currently I do experience errors while exporting the product with indigo (Eclipse Modeling Tools, Version: Indigo Release, Build id: 20110615-0604).

While running the export, I do get the following error:
An internal error occurred during: "Export Product".
java.lang.OutOfMemoryError

An internal error occurred during: "Collecting garbage".
unable to create new native thread

So far I was able to export the product by manually using "Run Garbage Collector", which I do not really consider being a solution.

My eclipse.ini is currently set to:
-startup
plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.100.v20110502
-product
org.eclipse.epp.package.modeling.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
512m
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms128m
-Xmx512m


Can anybody tell me how to fix this issue?

Re: Export Product / GC Error [message #726317 is a reply to message #725625] Sat, 17 September 2011 05:42 Go to previous messageGo to next message
Eclipse UserFriend
Hi all,

so far it seems, that I could solve this issue by adding
-XX:+UseConcMarkSweepGC

to my eclipse.ini.

I do not know much about Java GC interal matters, however, I found a bug report related to Java 5 and tried the GC policy mentioned above instead of the default handler. Seems so as if this is still an issue in Java 6, since I think eclipse is just utilizing the GC here.

However, I was still unable to redirect the GC. Is eclipe.ini the wrong place to put GC log parameters?
Re: Export Product / GC Error [message #726738 is a reply to message #726317] Mon, 19 September 2011 07:56 Go to previous messageGo to next message
Eclipse UserFriend
Quote:
However, I was still unable to redirect the GC. Is eclipe.ini the wrong place to put GC log parameters?


Just to complete this, obviously this issue was not related to eclipse.ini. After tweaking Java Control Panel settings, the log was not written before a system reboot...
Re: Export Product / GC Error [message #726749 is a reply to message #726738] Mon, 19 September 2011 08:40 Go to previous messageGo to next message
Eclipse UserFriend
No Message Body
Re: Export Product / GC Error [message #726750 is a reply to message #726749] Mon, 19 September 2011 08:41 Go to previous message
Eclipse UserFriend
hi i am getting this error on exporting to a product

Cannot complete the install because one or more required items could not be found.
Software being installed: RCP Application 1.0.0 (hello 1.0.0)
Missing requirement for filter properties ~= $0: RCP Application 1.0.0 (hello 1.0.0) requires 'hello_root.gtk.linux.x86 [1.0.0]' but it could not be found....

what is this gtk.linux.x86 , i am not able to figure out....pl help
Previous Topic:Bundle Security
Next Topic:RCP export into product
Goto Forum:
  


Current Time: Wed Jul 02 22:07:59 EDT 2025

Powered by FUDForum. Page generated in 0.05461 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top