Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 347309 - crash when trying to export plug-in (3.7 RC1)
Summary: crash when trying to export plug-in (3.7 RC1)
Status: RESOLVED WORKSFORME
Alias: None
Product: PDE
Classification: Eclipse Project
Component: Build (show other bugs)
Version: 3.7   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: pde-build-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 347267
  Show dependency tree
 
Reported: 2011-05-26 08:59 EDT by Nicolas Bros CLA
Modified: 2011-05-27 07:07 EDT (History)
1 user (show)

See Also:


Attachments
error log (11.85 KB, text/plain)
2011-05-26 09:00 EDT, Nicolas Bros CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.