Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » 4DIAC - Framework for Distributed Industrial Automation and Control » Java heap space Problem
Java heap space Problem [message #1752522] Tue, 24 January 2017 16:47 Go to next message
Wolfgang Trischnigg is currently offline Wolfgang TrischniggFriend
Messages: 27
Registered: April 2016
Junior Member

Please help me! Smile

Everytime when I want to save my application or something else an error occurs:

org.eclipse.ui : Java heap space
Java heap space
java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Unknown Source)
at Source)
at Source)
at Source)
at sun.nio.cs.StreamEncoder.writeBytes(Unknown Source)
at sun.nio.cs.StreamEncoder.implWrite(Unknown Source)
at sun.nio.cs.StreamEncoder.write(Unknown Source)
at Source)
at org.eclipse.emf.ecore.xmi.impl.StringSegment.write(
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.write(
at org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doSave(
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.saveOnlyIfChangedWithMemoryBuffer(
at org.fordiac.systemmanagement.SystemManager.saveDiagram(
at org.fordiac.systemmanagement.SystemManager.saveSystem(
at org.fordiac.ide.resourceediting.editors.ResourceDiagramEditor.doSave(
at org.eclipse.ui.internal.SaveableHelper$
at org.eclipse.ui.internal.SaveableHelper$
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(
at org.eclipse.ui.internal.WorkbenchWindow$
at org.eclipse.swt.custom.BusyIndicator.showWhile(
at org.eclipse.ui.internal.SaveableHelper.runProgressMonitorOperation(
at org.eclipse.ui.internal.SaveableHelper.runProgressMonitorOperation(
at org.eclipse.ui.internal.SaveableHelper.savePart(
at org.eclipse.ui.internal.WorkbenchPage.saveSaveable(
at org.eclipse.ui.internal.WorkbenchPage.saveEditor(
at org.eclipse.ui.internal.handlers.SaveHandler.execute(
at org.eclipse.ui.internal.handlers.HandlerProxy.execute(

I'm using 1.8_M1. Can you please help me?
Upgrading to the new version is not an option for me Wink

Thanks a lot, Wolfgang

[Updated on: Tue, 24 January 2017 18:28]

Report message to a moderator

Re: Java heap space Problem [message #1752531 is a reply to message #1752522] Tue, 24 January 2017 18:45 Go to previous messageGo to next message
Alois Zoitl is currently offline Alois ZoitlFriend
Messages: 667
Registered: January 2014
Senior Member
Hi Wolfgang,

first of all a strongly recomend you to upgrade to some stable 4diac 1.8.x version. M1 was an unstable preview for 1.8.0 and you shouldn't use it. If there are technical issues hindering you I'm happy to help you to sort them out.

Regarding your problem. Please have a look on this FAQ side [1] specifying how you can increase the heap size for Eclipse based applications like 4diac. I hope this helps.

Re: Java heap space Problem [message #1752570 is a reply to message #1752531] Wed, 25 January 2017 09:00 Go to previous message
Wolfgang Trischnigg is currently offline Wolfgang TrischniggFriend
Messages: 27
Registered: April 2016
Junior Member
Thank you Alois!

It seems that the instructions in the link helped to fix the problem.
To all other users, who will get this error, don't look for the eclipse.ini you must edit the 4DIAC-IDE.ini Wink

Best regards,

P.s.: When I find some time, I will do an update.
Previous Topic:Downloading boot file using IEC 61499 Deployment Plug In
Next Topic:Raspberry SPS build
Goto Forum:

Current Time: Sun Nov 18 11:51:43 GMT 2018

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

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

Back to the top