Java heap error when running 5.6.0 project

0
Running an existing app locally from modeler 5.6.0 returns a javaheapspace error. I increased heapspace up to 2000MB, still the same error. Can anyone explain what causes the error? In Mendix 5.5. all worked fine. ============================ Buildfile: C:\Users\Lia\Documents\Testapp-main\deployment\build_core.xml compile: [javac] Compiling 2 source files to C:\Users\Lia\Documents\Testapp-main\deployment\run\bin [javac] Note: C:\Users\Lia\Documents\Testapp-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:\Users\Lia\Documents\Testapp-main\deployment\build_core.xml:45: The following error occurred while executing this line: C:\Users\Lia\Documents\Testapp-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:601) 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: 38 seconds
asked
1 answers
1

Our cusomer was running an older java 1.7.0 version.

We updated the javaversion to the latest 1.7.0_65 version. For the 64bits laptops installing the 64 bits java version solved the problem.

For the 32bits PC's the problem still exists also after installing the 32bits 1.7.0_65 version.

answered