0 Replies Latest reply on Jun 13, 2011 2:38 AM by JRodX

    Flash builder 4 OutOfMemoryError Java heap space - Invoking Operation

    JRodX

      Hi,

       

      Im using Flash Builder 4.0.

       

      Test Operation functionality stopped working. It just says Invoking Operation 0% and after a long time the following exception is in the log.

       

      java.lang.OutOfMemoryError: Java heap space

      at java.lang.reflect.Array.newArray(Native Method)

      at java.lang.reflect.Array.newInstance(Array.java:52)

      at org.apache.commons.lang.ArrayUtils.copyArrayGrow1(ArrayUtils.java:3466)

      at org.apache.commons.lang.ArrayUtils.add(ArrayUtils.java:3233)

      at com.adobe.flexbuilder.DCDService.introspection.data.EntityTreeNode.addChild(EntityTreeNod e.java:344)

      at com.adobe.flexbuilder.DCDService.introspection.data.EntityTreeNode.clone(EntityTreeNode.j ava:846)

      at com.adobe.flexbuilder.DCDService.introspection.data.EntityTreeNode.clone(EntityTreeNode.j ava:846)

      at com.adobe.flexbuilder.DCDService.introspection.data.EntityTreeNode.clone(EntityTreeNode.j ava:846)

      at com.adobe.flexbuilder.DCDService.introspection.data.EntityTreeNode.clone(EntityTreeNode.j ava:846)

      at com.adobe.flexbuilder.DCDService.introspection.data.EntityTreeNode.clone(EntityTreeNode.j ava:846)

      at com.adobe.flexbuilder.DCDService.introspection.data.EntityTreeNode.clone(EntityTreeNode.j ava:846)

      at com.adobe.flexbuilder.DCDService.introspection.data.EntityTreeNode.clone(EntityTreeNode.j ava:846)

      at com.adobe.flexbuilder.DCDService.introspection.data.EntityTreeNode.clone(EntityTreeNode.j ava:846)

      at com.adobe.flexbuilder.DCDService.introspection.data.EntityTreeNode.clone(EntityTreeNode.j ava:846)

      at com.adobe.flexbuilder.DCDService.introspection.data.EntityTreeNode.clone(EntityTreeNode.j ava:846)

      at com.adobe.flexbuilder.DCDService.introspection.data.EntityTreeNode.clone(EntityTreeNode.j ava:846)

      at com.adobe.flexbuilder.DCDService.introspection.data.EntityTreeNode.clone(EntityTreeNode.j ava:846)

      at com.adobe.flexbuilder.DCDService.introspection.data.EntityTreeNode.clone(EntityTreeNode.j ava:846)

      at com.adobe.flexbuilder.DCDService.introspection.data.EntityTreeNode.clone(EntityTreeNode.j ava:846)

      at com.adobe.flexbuilder.DCDService.introspection.data.EntityTreeNode.clone(EntityTreeNode.j ava:846)

      at com.adobe.flexbuilder.DCDService.introspection.data.EntityTreeNode.clone(EntityTreeNode.j ava:846)

      at com.adobe.flexbuilder.DCDService.introspection.data.EntityTreeNode.copy(EntityTreeNode.ja va:762)

      at com.adobe.flexbuilder.DCDService.introspection.data.EntityTreeNode.copy(EntityTreeNode.ja va:799)

      at com.adobe.flexbuilder.DCDService.introspection.data.EntityTreeNode.copy(EntityTreeNode.ja va:771)

      at com.adobe.flexbuilder.DCDService.introspection.data.EntityTreeNode.copy(EntityTreeNode.ja va:799)

      at com.adobe.flexbuilder.DCDService.introspection.data.EntityTreeNode.copy(EntityTreeNode.ja va:799)

      at com.adobe.flexbuilder.DCDService.introspection.data.EntityTreeNode.copy(EntityTreeNode.ja va:771)

      at com.adobe.flexbuilder.DCDService.introspection.data.EntityTreeNode.copy(EntityTreeNode.ja va:771)

      at com.adobe.flexbuilder.DCDService.introspection.data.EntityTreeNode.createEntityTreeNode(E ntityTreeNode.java:670)

      at com.adobe.flexbuilder.dcrad.ui.wizard.testui.TestuiModel.invokeOperation(TestuiModel.java :565)

      at com.adobe.flexbuilder.dcrad.ui.wizard.testui.TestuiModel.invokeOperation(TestuiModel.java :515)

      at com.adobe.flexbuilder.dcrad.views.TestOperationView$OperationInvokeJob.runInWorkspace(Tes tOperationView.java:1977)

       

      This is the configuration of eclipse.ini file:

       

      --launcher.library

      ../../../plugins/org.eclipse.equinox.launcher.carbon.macosx_1.0.200.v20090520-1835

      -startup

      ../../../plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar

      -showsplash

      org.eclipse.platform

      --launcher.XXMaxPermSize

      256m

      -vmargs

      -Xms512m

      -Xmx1024m

      -Xdock:icon=../Resources/Eclipse.icns

      -XstartOnFirstThread

      -Dorg.eclipse.swt.internal.carbon.smallFonts

       

      Regards,

       

      Rodrigo