Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » RCP Testing Tool » Java Heap Size - Out of Memory(Java Heap Size - Out of Memory)
Java Heap Size - Out of Memory [message #1783385] Mon, 12 March 2018 14:30 Go to next message
Nicolas GrossiFriend
Messages: 10
Registered: March 2018
Junior Member
when adding a jar file (68mb) to my tests an out of memory is thrown

!ENTRY org.eclipse.rcptt.core 4 0 2018-03-12 11:12:19.813
!MESSAGE Java heap space
!STACK 0
java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Arrays.java:3332)
at java.lang.String.<init>(String.java:166)
at org.eclipse.emf.ecore.impl.EFactoryImpl.bytesToHexString(EFactoryImpl.java:643)
at org.eclipse.emf.ecore.impl.EcoreFactoryImpl.convertEByteArrayToString(EcoreFactoryImpl.java:860)
at org.eclipse.emf.ecore.impl.EcoreFactoryImpl.convertToString(EcoreFactoryImpl.java:185)
at org.eclipse.emf.ecore.xmi.impl.XMLHelperImpl.updateQNamePrefix(XMLHelperImpl.java:1723)
at org.eclipse.emf.ecore.xmi.impl.XMLHelperImpl.convertToString(XMLHelperImpl.java:1607)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.getDatatypeValue(XMLSaveImpl.java:3108)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveDataTypeSingle(XMLSaveImpl.java:1698)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveFeatures(XMLSaveImpl.java:1280)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveFeatures(XMLSaveImpl.java:1224)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveElementID(XMLSaveImpl.java:2716)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveElement(XMLSaveImpl.java:1181)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveElement(XMLSaveImpl.java:1042)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveContainedMany(XMLSaveImpl.java:2417)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveFeatures(XMLSaveImpl.java:1553)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveFeatures(XMLSaveImpl.java:1224)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveElementID(XMLSaveImpl.java:2716)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveElement(XMLSaveImpl.java:1181)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveElement(XMLSaveImpl.java:1042)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveContainedSingle(XMLSaveImpl.java:2403)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveFeatures(XMLSaveImpl.java:1547)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveFeatures(XMLSaveImpl.java:1224)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveElementID(XMLSaveImpl.java:2716)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.writeTopObject(XMLSaveImpl.java:683)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.traverse(XMLSaveImpl.java:591)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.save(XMLSaveImpl.java:251)
at org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doSave(XMLResourceImpl.java:389)
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.save(ResourceImpl.java:1430)
at org.eclipse.rcptt.core.persistence.PersistenceManager.saveResourceWithUpdate(PersistenceManager.java:264)
at org.eclipse.rcptt.core.persistence.PersistenceManager.saveResource(PersistenceManager.java:208)
at org.eclipse.rcptt.core.persistence.PersistenceManager.saveResource(PersistenceManager.java:182)

my rcptt.ini is this :

-startup
../Eclipse/plugins/org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar
--launcher.library
../Eclipse/plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.1.500.v20170531-1133
-showsplash
org.eclipse.rcptt.platform
-vmargs
-Xms512m
-Xmx1024m
-XX:PermSize=256M
-XX:MaxPermSize=512M
-XstartOnFirstThread
-Dorg.eclipse.swt.internal.carbon.smallFonts
-Dorg.osgi.framework.library.extensions=jnilib

[Updated on: Mon, 12 March 2018 14:33]

Report message to a moderator

Re: Java Heap Size - Out of Memory [message #1783386 is a reply to message #1783385] Mon, 12 March 2018 14:31 Go to previous messageGo to next message
Nicolas GrossiFriend
Messages: 10
Registered: March 2018
Junior Member
No Message Body

[Updated on: Mon, 12 March 2018 14:32]

Report message to a moderator

Re: Java Heap Size - Out of Memory [message #1783466 is a reply to message #1783386] Tue, 13 March 2018 12:52 Go to previous messageGo to next message
Nicolas GrossiFriend
Messages: 10
Registered: March 2018
Junior Member
Is there any update on this?
Re: Java Heap Size - Out of Memory [message #1783499 is a reply to message #1783466] Tue, 13 March 2018 16:34 Go to previous messageGo to next message
Vasili Gulevich is currently offline Vasili GulevichFriend
Messages: 18
Registered: July 2009
Junior Member
Please provide reproduction steps, expected and actual behaviors.
In particular it is unclear what are you adding files to to and what do they contain.

[Updated on: Tue, 13 March 2018 16:35]

Report message to a moderator

Re: Java Heap Size - Out of Memory [message #1783511 is a reply to message #1783499] Tue, 13 March 2018 18:00 Go to previous messageGo to next message
Nicolas GrossiFriend
Messages: 10
Registered: March 2018
Junior Member
Steps to reproduce
Launch RCPTT and add a .jar file (from that size) on RCPTT folder section
Select save, immediately after save the OOM will show

[Updated on: Tue, 13 March 2018 18:02]

Report message to a moderator

Re: Java Heap Size - Out of Memory [message #1783524 is a reply to message #1783511] Tue, 13 March 2018 19:01 Go to previous messageGo to next message
Nicolas GrossiFriend
Messages: 10
Registered: March 2018
Junior Member
the jar file contains a mule application
Re: Java Heap Size - Out of Memory [message #1783527 is a reply to message #1783524] Tue, 13 March 2018 19:40 Go to previous message
Nicolas GrossiFriend
Messages: 10
Registered: March 2018
Junior Member
@Vasili Gulevich I guess i provided all the info you requested, please let me know if you need more details
Previous Topic:Name of a Linked Workspace Project in Context
Next Topic:Java Doc with ECL procs
Goto Forum:
  


Current Time: Fri Oct 19 05:43:10 GMT 2018

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

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

Back to the top