Java actions error - Out of memory/Java heap space

0
Hi, I'm getting the below Java Actions error when building Locally. I'm able to build other projects without a problem and could build this project until recently. Other users can still build this project. I am running VMWare Fusion on Mac. Any guidance would be very much appreciated. Thanks! Buildfile: C:\Documents and Settings\Administrator\My Documents\PremiumPositionsGrid-main\deployment\build_core.xml compile: [javac] Compiling 2 source files to C:\Documents and Settings\Administrator\My Documents\PremiumPositionsGrid-main\deployment\run\bin [javac] Note: C:\Documents and Settings\Administrator\My Documents\PremiumPositionsGrid-main\javasource\com\mendix\core\Core.java uses or overrides a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: C:\Documents and Settings\Administrator\My Documents\PremiumPositionsGrid-main\javasource\com\mendix\core\Core.java uses unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. build: [bnd] # addAll 'deployment/run/bnd.bnd' with , BUILD FAILED C:\Documents and Settings\Administrator\My Documents\PremiumPositionsGrid-main\deployment\build_core.xml:45: The following error occurred while executing this line: C:\Documents and Settings\Administrator\My Documents\PremiumPositionsGrid-main\deployment\run\bndbuild.xml:9: java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(Arrays.java:2271) at java.io.ByteArrayOutputStream.grow(ByteArrayOutputStream.java:113) at java.io.ByteArrayOutputStream.ensureCapacity(ByteArrayOutputStream.java:93) at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:140) at aQute.bnd.osgi.EmbeddedResource.copy(EmbeddedResource.java:68) at aQute.bnd.osgi.EmbeddedResource.collect(EmbeddedResource.java:57) at aQute.bnd.osgi.EmbeddedResource.build(EmbeddedResource.java:36) at aQute.bnd.osgi.EmbeddedResource.build(EmbeddedResource.java:78) at aQute.bnd.osgi.Analyzer.analyzeBundleClasspath(Analyzer.java:1672) at aQute.bnd.osgi.Analyzer.analyze(Analyzer.java:129) at aQute.bnd.osgi.Builder.analyze(Builder.java:324) at aQute.bnd.osgi.Analyzer.calcManifest(Analyzer.java:342) at aQute.bnd.osgi.Builder.build(Builder.java:77) at aQute.bnd.osgi.Builder.builds(Builder.java:1136) at aQute.bnd.ant.BndTask.executeBackwardCompatible(BndTask.java:223) at aQute.bnd.ant.BndTask.execute(BndTask.java:115) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:390) at org.apache.tools.ant.Target.performTasks(Target.java:411) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1360) at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38) at org.apache.tools.ant.Project.executeTargets(Project.java:1212) at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:441) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) Total time: 1 minute 44 seconds
asked
2 answers
0

Do you have a solution yet?

I have the same problem. I'm using Parallels and Mac. Business Modeller version 5.8.1.

Maybe it has a relation with the OSX Yosemite upgrade.

answered
0

Issue resolved: I increased the memory in VMWare Fusion from 512MB to 1016MB and am no longer getting the out of memory error.

answered