Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 347309

Summary: crash when trying to export plug-in (3.7 RC1)
Product: [Eclipse Project] PDE Reporter: Nicolas Bros <nicolas.bros>
Component: BuildAssignee: pde-build-inbox <pde-build-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: pwebster
Version: 3.7   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Bug Depends on:    
Bug Blocks: 347267    
Attachments:
Description Flags
error log none

Description Nicolas Bros CLA 2011-05-26 08:59:53 EDT
I'm getting a bunch of errors (OutOfMemoryError, unable to create new native thread) when I'm trying to export this plug-in:
https://dev.eclipse.org/svnroot/modeling/org.eclipse.mdt.modisco/plugins/trunk/org.eclipse.gmt.modisco.java.discoverer
(the bug occurs with revision 4123 of this plug-in)

- right click on the project
- select "Export... > Deployable plug-ins and fragments"
- select to export to a Directory
- select Export Source : Generate source bundles
- check "Package plug-ins as individual JAR archives"

I have launched Eclipse with this in eclipse.ini, so there should be enough memory available:
-vmargs
-Declipse.p2.unsignedPolicy=allow
-Xms128m
-Xmx1024m
-XX:PermSize=128m
-XX:MaxPermSize=256m

I don't know whether there is any link, but this plug-in deviates from the norm (cf Bug 347267).


Eclipse SDK
Version: 3.7.0
Build id: I20110428-0848
Comment 1 Nicolas Bros CLA 2011-05-26 09:00:18 EDT
Created attachment 196658 [details]
error log

Here's my error log.
Comment 2 Nicolas Bros CLA 2011-05-26 10:42:28 EDT
Update: I also got the "unable to create native thread" error later while debugging. So, this error is maybe not caused by the plug-in export.
Comment 3 Nicolas Bros CLA 2011-05-27 07:07:31 EDT
I tried again with a bare RC2 install, and the export worked.