Results 1 to 9 of 9

Thread: SenchaCmd 6.1.X - Java heap space exception

  1. #1
    Sencha User
    Join Date
    May 2015
    Posts
    13

    Default SenchaCmd 6.1.X - Java heap space exception

    Ext version tested:
    • Ext 6.0.2.437
    • Sencha Cmd 6.1.2.15
    • Sencha Cmd 6.1.1.76
    • Java 1.8.0_77 x64
    • Windows 8 x64, over 3GB RAM free

    Description:
    • Exception during release build (with slicing images turned on):
      [INF] Capturing theme image
      [INF] Capture complete
      [INF] Slicing images...
      [ERR]
      [ERR] BUILD FAILED
      [ERR] com.sencha.exceptions.BasicException: Java heap space
      [ERR] at com.sencha.cli.Commands.dispatch(Commands.ja
      [ERR] va:64)
      [ERR]
      [ERR] Total time: 37 seconds
      [ERR] The following error occurred while executing this line:
      c:\proj\.sencha\app\build-impl.xml:334: The following error occurred while executing this line:
      c:\proj\.sencha\app\slice-impl.xml:359: The following error occurred while executing this line:
      c:\proj\.sencha\app\slice-impl.xml:360: The following error occurred while executing this line:
      c:\proj\.sencha\app\slice-impl.xml:230: com.sencha.exceptions.BasicException: Java heap space

    Any ideas, workaround?

  2. #2
    Sencha User
    Join Date
    May 2015
    Posts
    13

    Default

    I forgot to mention: ver. 6.0.2.14 works fine on the same project.

  3. #3
    Sencha User
    Join Date
    Apr 2013
    Posts
    900

    Default

    Have you seen this thread? You can try to adjust "-Xmx" in sencha.cfg to see if increasing it helps, like westy did.

  4. #4
    Sencha User
    Join Date
    May 2015
    Posts
    13

    Default

    Thanks, yes I read this thread and tried such settings:
    original version:
    cmd.jvm.args=-Xms128m -Xmx1024m -Dapple.awt.UIElement=true

    modified:
    cmd.jvm.args=-Xms128m -Xmx2048m -Dapple.awt.UIElement=true
    cmd.jvm.args=-Xms128m -Xmx2048m -Djava.awt.headless=true

    It didn't help.

    sencha -d app build gives such exception:
    Code:
    [DBG] Loaded framework from c:\myapp\ext
    [DBG] adding service server extension commands for sencha
    [DBG] extending 'sencha' with command 'com.sencha.command.rpc.SerivceCommands'
    [DBG] adding service server extension commands for sencha.fs
    [INF] Slicing images...
    [DBG] Loading slice manifest - c:\myapp\build\temp\production\MyApp\slicer-temp\theme-capture.json
    [DBG] Loading image to slice - c:\myapp\build\temp\production\MyApp\slicer-temp\theme-capture.png
    [ERR] 
    [ERR] BUILD FAILED
    [ERR] com.sencha.exceptions.BasicException: Java heap space
    [ERR]     at com.sencha.exceptions.BasicException.wrap(BasicException.java:54)
    [ERR]     at com.sencha.exceptions.BasicException.stealthify(BasicException.java:43)
    [ERR]     at com.sencha.exceptions.BasicException.raise(BasicException.java:35)
    [ERR]     at com.sencha.cli.Command.dispatch(Command.java:62)
    [ERR]     at com.sencha.cli.Commands.dispatch(Commands.java:64)
    [ERR]     at com.sencha.cli.Commands.dispatch(Commands.java:64)
    [ERR]     at com.sencha.command.Sencha.dispatch(Sencha.java:79)
    [ERR]     at com.sencha.cli.AbstractCommand.dispatch(AbstractCommand.java:124)
    [ERR]     at com.sencha.ant.SenchaCommandTask.doExecute(SenchaCommandTask.java:42)
    [ERR]     at com.sencha.ant.BaseAntTask.execute(BaseAntTask.java:34)
    [ERR]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
    [ERR]     at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
    [ERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    [ERR]     at java.lang.reflect.Method.invoke(Unknown Source)
    [ERR]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    [ERR]     at org.apache.tools.ant.Task.perform(Task.java:348)
    [ERR]     at org.apache.tools.ant.Target.execute(Target.java:392)
    [ERR]     at org.apache.tools.ant.Target.performTasks(Target.java:413)
    [ERR]     at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
    [ERR]     at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
    [ERR]     at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
    [ERR]     at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
    [ERR]     at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
    [ERR]     at com.sencha.ant.CallTask.execute(CallTask.java:137)
    [ERR]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
    [ERR]     at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
    [ERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    [ERR]     at java.lang.reflect.Method.invoke(Unknown Source)
    [ERR]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    [ERR]     at org.apache.tools.ant.Task.perform(Task.java:348)
    [ERR]     at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
    [ERR]     at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:197)
    [ERR]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [ERR]     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    [ERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    [ERR]     at java.lang.reflect.Method.invoke(Unknown Source)
    [ERR]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    [ERR]     at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:154)
    [ERR]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
    [ERR]     at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
    [ERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    [ERR]     at java.lang.reflect.Method.invoke(Unknown Source)
    [ERR]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    [ERR]     at org.apache.tools.ant.Task.perform(Task.java:348)
    [ERR]     at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
    [ERR]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
    [ERR]     at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
    [ERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    [ERR]     at java.lang.reflect.Method.invoke(Unknown Source)
    [ERR]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    [ERR]     at org.apache.tools.ant.Task.perform(Task.java:348)
    [ERR]     at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:398)
    [ERR]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
    [ERR]     at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
    [ERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    [ERR]     at java.lang.reflect.Method.invoke(Unknown Source)
    [ERR]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    [ERR]     at org.apache.tools.ant.Task.perform(Task.java:348)
    [ERR]     at org.apache.tools.ant.Target.execute(Target.java:392)
    [ERR]     at org.apache.tools.ant.Target.performTasks(Target.java:413)
    [ERR]     at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
    [ERR]     at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
    [ERR]     at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
    [ERR]     at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
    [ERR]     at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
    [ERR]     at com.sencha.ant.CallTask.execute(CallTask.java:137)
    [ERR]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
    [ERR]     at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
    [ERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    [ERR]     at java.lang.reflect.Method.invoke(Unknown Source)
    [ERR]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    [ERR]     at org.apache.tools.ant.Task.perform(Task.java:348)
    [ERR]     at org.apache.tools.ant.Target.execute(Target.java:392)
    [ERR]     at org.apache.tools.ant.Target.performTasks(Target.java:413)
    [ERR]     at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
    [ERR]     at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
    [ERR]     at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
    [ERR]     at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
    [ERR]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
    [ERR]     at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
    [ERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    [ERR]     at java.lang.reflect.Method.invoke(Unknown Source)
    [ERR]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    [ERR]     at org.apache.tools.ant.Task.perform(Task.java:348)
    [ERR]     at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
    [ERR]     at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:217)
    [ERR]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [ERR]     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    [ERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    [ERR]     at java.lang.reflect.Method.invoke(Unknown Source)
    [ERR]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    [ERR]     at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:154)
    [ERR]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
    [ERR]     at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
    [ERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    [ERR]     at java.lang.reflect.Method.invoke(Unknown Source)
    [ERR]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    [ERR]     at org.apache.tools.ant.Task.perform(Task.java:348)
    [ERR]     at org.apache.tools.ant.Target.execute(Target.java:392)
    [ERR]     at org.apache.tools.ant.Target.performTasks(Target.java:413)
    [ERR]     at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
    [ERR]     at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
    [ERR]     at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    [ERR]     at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
    [ERR]     at com.sencha.ant.AntScript.execute(AntScript.java:116)
    [ERR]     at com.sencha.command.plugin.PluginManager.execute(PluginManager.java:104)
    [ERR]     at com.sencha.command.plugin.PluginManager.executeReverseFirst(PluginManager.java:145)
    [ERR]     at com.sencha.command.environment.BuildEnvironment.execute(BuildEnvironment.java:282)
    [ERR]     at com.sencha.command.environment.AppOrPackageEnvironment.execute(AppOrPackageEnvironment.java:759)
    [ERR]     at com.sencha.command.BasePluginCommands$BasePluginCommand.doExecute(BasePluginCommands.java:99)
    [ERR]     at com.sencha.command.app.AppCommands$BuildCommand.execute(AppCommands.java:377)
    [ERR]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [ERR]     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    [ERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    [ERR]     at java.lang.reflect.Method.invoke(Unknown Source)
    [ERR]     at com.sencha.util.MethodInvoker$Arguments.invoke(MethodInvoker.java:175)
    [ERR]     at com.sencha.cli.Command.dispatch(Command.java:43)
    [ERR]     at com.sencha.command.BasePluginCommands$BasePluginCommand.dispatch(BasePluginCommands.java:260)
    [ERR]     at com.sencha.cli.Commands.dispatch(Commands.ja
    [ERR] va:64)
    [ERR]     at com.sencha.cli.Commands.dispatch(Commands.java:64)
    [ERR]     at com.sencha.command.Sencha.dispatch(Sencha.java:79)
    [ERR]     at com.sencha.command.Sencha.main(Sencha.java:147)
    [ERR]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [ERR]     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    [ERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    [ERR]     at java.lang.reflect.Method.invoke(Unknown Source)
    [ERR]     at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
    [ERR]     at com.exe4j.runtime.WinLauncher.main(Unknown Source)
    [ERR]     at com.install4j.runtime.launcher.WinLauncher.main(Unknown Source)
    [ERR] Caused by: java.lang.OutOfMemoryError: Java heap space
    [ERR]     at java.awt.image.DataBufferByte.<init>(Unknown Source)
    [ERR]     at java.awt.image.ComponentSampleModel.createDataBuffer(Unknown Source)
    [ERR]     at java.awt.image.Raster.createWritableRaster(Unknown Source)
    [ERR]     at javax.imageio.ImageTypeSpecifier.createBufferedImage(Unknown Source)
    [ERR]     at javax.imageio.ImageReader.getDestination(Unknown Source)
    [ERR]     at com.sun.imageio.plugins.png.PNGImageReader.readImage(Unknown Source)
    [ERR]     at com.sun.imageio.plugins.png.PNGImageReader.read(Unknown Source)
    [ERR]     at javax.imageio.ImageIO.read(Unknown Source)
    [ERR]     at javax.imageio.ImageIO.read(Unknown Source)
    [ERR]     at com.sencha.util.ImageUtil.load(ImageUtil.java:28)
    [ERR]     at com.sencha.command.filesystem.SliceCommand.execute(SliceCommand.java:98)
    [ERR]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [ERR]     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    [ERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    [ERR]     at java.lang.reflect.Method.invoke(Unknown Source)
    [ERR]     at com.sencha.util.MethodInvoker$Arguments.invoke(MethodInvoker.java:175)
    [ERR]     at com.sencha.cli.Command.dispatch(Command.java:43)
    [ERR]     at com.sencha.cli.Commands.dispatch(Commands.java:64)
    [ERR]     at com.sencha.cli.Commands.dispatch(Commands.java:64)
    [ERR]     at com.sencha.command.Sencha.dispatch(Sencha.java:79)
    [ERR]     at com.sencha.cli.AbstractCommand.dispatch(AbstractCommand.java:124)
    [ERR]     at com.sencha.ant.SenchaCommandTask.doExecute(SenchaCommandTask.java:42)
    [ERR]     at com.sencha.ant.BaseAntTask.execute(BaseAntTask.java:34)
    [ERR]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
    [ERR]     at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
    [ERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    [ERR]     at java.lang.reflect.Method.invoke(Unknown Source)
    [ERR]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    [ERR]     at org.apache.tools.ant.Task.perform(Task.java:348)
    [ERR]     at org.apache.tools.ant.Target.execute(Target.java:392)
    [ERR]     at org.apache.tools.ant.Target.performTasks(Target.java:413)
    [ERR]     at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
    [ERR] 
    [ERR] Total time: 50 seconds
    [DBG] Triggering build cleanup
    [DBG] Build cleanup complete
    [ERR] The following error occurred while executing this line:
    c:\myapp\.sencha\app\build-impl.xml:334: The following error occurred while executing this line:
    c:\myapp\.sencha\app\slice-impl.xml:359: The following error occurred while executing this line:
    c:\myapp\.sencha\app\slice-impl.xml:360: The following error occurred while executing this line:
    c:\myapp\.sencha\app\slice-impl.xml:230: com.sencha.exceptions.BasicException: Java heap space
         at com.sencha.exceptions.BasicException.wrap(BasicException.java:54)
         at com.sencha.ant.AntScript.execute(AntScript.java:120)
         at com.sencha.command.plugin.PluginManager.execute(PluginManager.java:104)
         at com.sencha.command.plugin.PluginManager.executeReverseFirst(PluginManager.java:145)
         at com.sencha.command.environment.BuildEnvironment.execute(BuildEnvironment.java:282)
         at com.sencha.command.environment.AppOrPackageEnvironment.execute(AppOrPackageEnvironment.java:759)
         at com.sencha.command.BasePluginCommands$BasePluginCommand.doExecute(BasePluginCommands.java:99)
         at com.sencha.command.app.AppCommands$BuildCommand.execute(AppCommands.java:377)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at com.sencha.util.MethodInvoker$Arguments.invoke(MethodInvoker.java:175)
         at com.sencha.cli.Command.dispatch(Command.java:43)
         at com.sencha.command.BasePluginCommands$BasePluginCommand.dispatch(BasePluginCommands.java:260)
         at com.sencha.cli.Commands.dispatch(Commands.java:64)
         at com.sencha.cli.Commands.dispatch(Commands.java:64)
         at com.sencha.command.Sencha.dispatch(Sencha.java:79)
         at com.sencha.command.Sencha.main(Sencha.java:147)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
         at com.exe4j.runtime.WinLauncher.main(Unknown Source)
         at com.install4j.runtime.launcher.WinLauncher.main(Unknown Source)
       Caused by: The following error occurred while executing this line:
    c:\myapp\.sencha\app\build-impl.xml:334: The following error occurred while executing this line:
    c:\myapp\.sencha\app\slice-impl.xml:359: The following error occurred while executing this line:
    c:\myapp\.sencha\app\slice-impl.xml:360: The following error occurred while executing this line:
    c:\myapp\.sencha\app\slice-impl.xml:230: com.sencha.exceptions.BasicException: Java heap space
         at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:551)
         at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:444)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
         at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         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.taskdefs.Sequential.execute(Sequential.java:68)
         at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:217)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
         at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:154)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
         at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         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:392)
         at org.apache.tools.ant.Target.performTasks(Target.java:413)
         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
         at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
         at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
         at com.sencha.ant.AntScript.execute(AntScript.java:116)
         at com.sencha.command.plugin.PluginManager.execute(PluginManager.java:104)
         at com.sencha.command.plugin.PluginManager.executeReverseFirst(PluginManager.java:145)
         at com.sencha.command.environment.BuildEnvironment.execute(BuildEnvironment.java:282)
         at com.sencha.command.environment.AppOrPackageEnvironment.execute(AppOrPackageEnvironment.java:759)
         at com.sencha.command.BasePluginCommands$BasePluginCommand.doExecute(BasePluginCommands.java:99)
         at com.sencha.command.app.AppCommands$BuildCommand.execute(AppCommands.java:377)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at com.sencha.util.MethodInvoker$Arguments.invoke(MethodInvoker.java:175)
         at com.sencha.cli.Command.dispatch(Command.java:43)
         at com.sencha.command.BasePluginCommands$BasePluginCommand.dispatch(BasePluginCommands.java:260)
         at com.sencha.cli.Commands.dispatch(Commands.java:64)
         at com.sencha.cli.Commands.dispatch(Commands.java:64)
         at com.sencha.command.Sencha.dispatch(Sencha.java:79)
         at com.sencha.command.Sencha.main(Sencha.java:147)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
         at com.exe4j.runtime.WinLauncher.main(Unknown Source)
         at com.install4j.runtime.launcher.WinLauncher.main(Unknown Source)
       Caused by: The following error occurred while executing this line:
    c:\myapp\.sencha\app\slice-impl.xml:359: The following error occurred while executing this line:
    c:\myapp\.sencha\app\slice-impl.xml:360: The following error occurred while executing this line:
    c:\myapp\.sencha\app\slice-impl.xml:230: com.sencha.exceptions.BasicException: Java heap space
         at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:551)
         at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:444)
         at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
         at com.sencha.ant.CallTask.execute(CallTask.java:137)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
         at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         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:392)
         at org.apache.tools.ant.Target.performTasks(Target.java:413)
         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
         at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
         at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
         at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         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.taskdefs.Sequential.execute(Sequential.java:68)
         at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:217)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
         at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:154)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
         at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         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:392)
         at org.apache.tools.ant.Target.performTasks(Target.java:413)
         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
         at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
         at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
         at com.sencha.ant.AntScript.execute(AntScript.java:116)
         at com.sencha.command.plugin.PluginManager.execute(PluginManager.java:104)
         at com.sencha.command.plugin.PluginManager.executeReverseFirst(PluginManager.java:145)
         at com.sencha.command.environment.BuildEnvironment.execute(BuildEnvironment.java:282)
         at com.sencha.command.environment.AppOrPackageEnvironment.execute(AppOrPackageEnvironment.java:759)
         at com.sencha.command.BasePluginCommands$BasePluginCommand.doExecute(BasePluginCommands.java:99)
         at com.sencha.command.app.AppCommands$BuildCommand.execute(AppCommands.java:377)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at com.sencha.util.MethodInvoker$Arguments.invoke(MethodInvoker.java:175)
         at com.sencha.cli.Command.dispatch(Command.java:43)
         at com.sencha.command.BasePluginCommands$BasePluginCommand.dispatch(BasePluginCommands.java:260)
         at com.sencha.cli.Commands.dispatch(Commands.java:64)
         at com.sencha.cli.Commands.dispatch(Commands.java:64)
         at com.sencha.command.Sencha.dispatch(Sencha.java:79)
         at com.sencha.command.Sencha.main(Sencha.java:147)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
         at com.exe4j.runtime.WinLauncher.main(Unknown Source)
         at com.install4j.runtime.launcher.WinLauncher.main(Unknown Source)
       Caused by: The following error occurred while executing this line:
    c:\myapp\.sencha\app\slice-impl.xml:360: The following error occurred while executing this line:
    c:\myapp\.sencha\app\slice-impl.xml:230: com.sencha.exceptions.BasicException: Java heap space
         at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:551)
         at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:401)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
         at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         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:392)
         at org.apache.tools.ant.Target.performTasks(Target.java:413)
         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
         at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
         at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
         at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
         at com.sencha.ant.CallTask.execute(CallTask.java:137)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
         at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         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:392)
         at org.apache.tools.ant.Target.performTasks(Target.java:413)
         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
         at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
         at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
         at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         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.taskdefs.Sequential.execute(Sequential.java:68)
         at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:217)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
         at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:154)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
         at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         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:392)
         at org.apache.tools.ant.Target.performTasks(Target.java:413)
         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
         at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
         at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
         at com.sencha.ant.AntScript.execute(AntScript.java:116)
         at com.sencha.command.plugin.PluginManager.execute(PluginManager.java:104)
         at com.sencha.command.plugin.PluginManager.executeReverseFirst(PluginManager.java:145)
         at com.sencha.command.environment.BuildEnvironment.execute(BuildEnvironment.java:282)
         at com.sencha.command.environment.AppOrPackageEnvironment.execute(AppOrPackageEnvironment.java:759)
         at com.sencha.command.BasePluginCommands$BasePluginCommand.doExecute(BasePluginCommands.java:99)
         at com.sencha.command.app.AppCommands$BuildCommand.execute(AppCommands.java:377)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at com.sencha.util.MethodInvoker$Arguments.invoke(MethodInvoker.java:175)
         at com.sencha.cli.Command.dispatch(Command.java:43)
         at com.sencha.command.BasePluginCommands$BasePluginCommand.dispatch(BasePluginCommands.java:260)
         at com.sencha.cli.Commands.dispatch(Commands.java:64)
         at com.sencha.cli.Commands.dispatch(Commands.java:64)
         at com.sencha.command.Sencha.dispatch(Sencha.java:79)
         at com.sencha.command.Sencha.main(Sencha.java:147)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
         at com.exe4j.runtime.WinLauncher.main(Unknown Source)
         at com.install4j.runtime.launcher.WinLauncher.main(Unknown Source)
       Caused by: The following error occurred while executing this line:
    c:\myapp\.sencha\app\slice-impl.xml:230: com.sencha.exceptions.BasicException: Java heap space
         at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:551)
         at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:444)
         at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
         at com.sencha.ant.CallTask.execute(CallTask.java:137)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
         at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         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.taskdefs.Sequential.execute(Sequential.java:68)
         at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:197)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
         at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:154)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
         at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         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.taskdefs.Sequential.execute(Sequential.java:68)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
         at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         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.taskdefs.MacroInstance.execute(MacroInstance.java:398)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
         at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         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:392)
         at org.apache.tools.ant.Target.performTasks(Target.java:413)
         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
         at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
         at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
         at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
         at com.sencha.ant.CallTask.execute(CallTask.java:137)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
         at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         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:392)
         at org.apache.tools.ant.Target.performTasks(Target.java:413)
         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
         at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
         at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
         at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         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.taskdefs.Sequential.execute(Sequential.java:68)
         at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:217)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
         at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:154)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
         at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         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:392)
         at org.apache.tools.ant.Target.performTasks(Target.java:413)
         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
         at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
         at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
         at com.sencha.ant.AntScript.execute(AntScript.java:116)
         at com.sencha.command.plugin.PluginManager.execute(PluginManager.java:104)
         at com.sencha.command.plugin.PluginManager.executeReverseFirst(PluginManager.java:145)
         at com.sencha.command.environment.BuildEnvironment.execute(BuildEnvironment.java:282)
         at com.sencha.command.environment.AppOrPackageEnvironment.execute(AppOrPackageEnvironment.java:759)
         at com.sencha.command.BasePluginCommands$BasePluginCommand.doExecute(BasePluginCommands.java:99)
         at com.sencha.command.app.AppCommands$BuildCommand.execute(AppCommands.java:377)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at com.sencha.util.MethodInvoker$Arguments.invoke(MethodInvoker.java:175)
         at com.sencha.cli.Command.dispatch(Command.java:43)
         at com.sencha.command.BasePluginCommands$BasePluginCommand.dispatch(BasePluginCommands.java:260)
         at com.sencha.cli.Commands.dispatch(Commands.java:64)
         at com.sencha.cli.Commands.dispatch(Commands.java:64)
         at com.sencha.command.Sencha.dispatch(Sencha.java:79)
         at com.sencha.command.Sencha.main(Sencha.java:147)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
         at com.exe4j.runtime.WinLauncher.main(Unknown Source)
         at com.install4j.runtime.launcher.WinLauncher.main(Unknown Source)
       Caused by: com.sencha.exceptions.BasicException: Java heap space
         at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:116)
         at org.apache.tools.ant.Task.perform(Task.java:348)
         at org.apache.tools.ant.Target.execute(Target.java:392)
         at org.apache.tools.ant.Target.performTasks(Target.java:413)
         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
         at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
         at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
         at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
         at com.sencha.ant.CallTask.execute(CallTask.java:137)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
         at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         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.taskdefs.Sequential.execute(Sequential.java:68)
         at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:197)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
         at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:154)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
         at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         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.taskdefs.Sequential.execute(Sequential.java:68)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
         at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         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.taskdefs.MacroInstance.execute(MacroInstance.java:398)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
         at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         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:392)
         at org.apache.tools.ant.Target.performTasks(Target.java:413)
         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
         at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
         at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
         at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
         at com.sencha.ant.CallTask.execute(CallTask.java:137)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
         at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         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:392)
         at org.apache.tools.ant.Target.performTasks(Target.java:413)
         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
         at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
         at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
         at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         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.taskdefs.Sequential.execute(Sequential.java:68)
         at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:217)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
         at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:154)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
         at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         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:392)
         at org.apache.tools.ant.Target.performTasks(Target.java:413)
         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
         at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
         at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
         at com.sencha.ant.AntScript.execute(AntScript.java:116)
         at com.sencha.command.plugin.PluginManager.execute(PluginManager.java:104)
         at com.sencha.command.plugin.PluginManager.executeReverseFirst(PluginManager.java:145)
         at com.sencha.command.environment.BuildEnvironment.execute(BuildEnvironment.java:282)
         at com.sencha.command.environment.AppOrPackageEnvironment.execute(AppOrPackageEnvironment.java:759)
         at com.sencha.command.BasePluginCommands$BasePluginCommand.doExecute(BasePluginCommands.java:99)
         at com.sencha.command.app.AppCommands$BuildCommand.execute(AppCommands.java:377)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at com.sencha.util.MethodInvoker$Arguments.invoke(MethodInvoker.java:175)
         at com.sencha.cli.Command.dispatch(Command.java:43)
         at com.sencha.command.BasePluginCommands$BasePluginCommand.dispatch(BasePluginCommands.java:260)
         at com.sencha.cli.Commands.dispatch(Commands.java:64)
         at com.sencha.cli.Commands.dispatch(Commands.java:64)
         at com.sencha.command.Sencha.dispatch(Sencha.java:79)
         at com.sencha.command.Sencha.main(Sencha.java:147)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
         at com.exe4j.runtime.WinLauncher.main(Unknown Source)
         at com.install4j.runtime.launcher.WinLauncher.main(Unknown Source)
       Caused by: Java heap space
         at com.sencha.exceptions.BasicException.wrap(BasicException.java:54)
         at com.sencha.exceptions.BasicException.stealthify(BasicException.java:43)
         at com.sencha.exceptions.BasicException.raise(BasicException.java:35)
         at com.sencha.cli.Command.dispatch(Command.java:62)
         at com.sencha.cli.Commands.dispatch(Commands.java:64)
         at com.sencha.cli.Commands.dispatch(Commands.java:64)
         at com.sencha.command.Sencha.dispatch(Sencha.java:79)
         at com.sencha.cli.AbstractCommand.dispatch(AbstractCommand.java:124)
         at com.sencha.ant.SenchaCommandTask.doExecute(SenchaCommandTask.java:42)
         at com.sencha.ant.BaseAntTask.execute(BaseAntTask.java:34)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
         at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         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:392)
         at org.apache.tools.ant.Target.performTasks(Target.java:413)
         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
         at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
         at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
         at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
         at com.sencha.ant.CallTask.execute(CallTask.java:137)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
         at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         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.taskdefs.Sequential.execute(Sequential.java:68)
         at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:197)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
         at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:154)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
         at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         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.taskdefs.Sequential.execute(Sequential.java:68)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
         at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         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.taskdefs.MacroInstance.execute(MacroInstance.java:398)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
         at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         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:392)
         at org.apache.tools.ant.Target.performTasks(Target.java:413)
         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
         at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
         at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
         at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
         at com.sencha.ant.CallTask.execute(CallTask.java:137)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
         at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         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:392)
         at org.apache.tools.ant.Target.performTasks(Target.java:413)
         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
         at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
         at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
         at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         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.taskdefs.Sequential.execute(Sequential.java:68)
         at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:217)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
         at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:154)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
         at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         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:392)
         at org.apache.tools.ant.Target.performTasks(Target.java:413)
         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
         at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
         at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
         at com.sencha.ant.AntScript.execute(AntScript.java:116)
         at com.sencha.command.plugin.PluginManager.execute(PluginManager.java:104)
         at com.sencha.command.plugin.PluginManager.executeReverseFirst(PluginManager.java:145)
         at com.sencha.command.environment.BuildEnvironment.execute(BuildEnvironment.java:282)
         at com.sencha.command.environment.AppOrPackageEnvironment.execute(AppOrPackageEnvironment.java:759)
         at com.sencha.command.BasePluginCommands$BasePluginCommand.doExecute(BasePluginCommands.java:99)
         at com.sencha.command.app.AppCommands$BuildCommand.execute(AppCommands.java:377)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at com.sencha.util.MethodInvoker$Arguments.invoke(MethodInvoker.java:175)
         at com.sencha.cli.Command.dispatch(Command.java:43)
         at com.sencha.command.BasePluginCommands$BasePluginCommand.dispatch(BasePluginCommands.java:260)
         at com.sencha.cli.Commands.dispatch(Commands.java:64)
         at com.sencha.cli.Commands.dispatch(Commands.java:64)
         at com.sencha.command.Sencha.dispatch(Sencha.java:79)
         at com.sencha.command.Sencha.main(Sencha.java:147)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
         at com.exe4j.runtime.WinLauncher.main(Unknown Source)
         at com.install4j.runtime.launcher.WinLauncher.main(Unknown Source)
       Caused by: Java heap space
         at java.awt.image.DataBufferByte.<init>(Unknown Source)
         at java.awt.image.ComponentSampleModel.createDataBuffer(Unknown Source)
         at java.awt.image.Raster.createWritableRaster(Unknown Source)
         at javax.imageio.ImageTypeSpecifier.createBufferedImage(Unknown Source)
         at javax.imageio.ImageReader.getDestination(Unknown Source)
         at com.sun.imageio.plugins.png.PNGImageReader.readImage(Unknown Source)
         at com.sun.imageio.plugins.png.PNGImageReader.read(Unknown Source)
         at javax.imageio.ImageIO.read(Unknown Source)
         at javax.imageio.ImageIO.read(Unknown Source)
         at com.sencha.util.ImageUtil.load(ImageUtil.java:28)
         at com.sencha.command.filesystem.SliceCommand.execute(SliceCommand.java:98)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at com.sencha.util.MethodInvoker$Arguments.invoke(MethodInvoker.java:175)
         at com.sencha.cli.Command.dispatch(Command.java:43)
         at com.sencha.cli.Commands.dispatch(Commands.java:64)
         at com.sencha.cli.Commands.dispatch(Commands.java:64)
         at com.sencha.command.Sencha.dispatch(Sencha.java:79)
         at com.sencha.cli.AbstractCommand.dispatch(AbstractCommand.java:124)
         at com.sencha.ant.SenchaCommandTask.doExecute(SenchaCommandTask.java:42)
         at com.sencha.ant.BaseAntTask.execute(BaseAntTask.java:34)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
         at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         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:392)
         at org.apache.tools.ant.Target.performTasks(Target.java:413)
         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)

  5. #5
    Sencha User
    Join Date
    Apr 2013
    Posts
    900

    Default

    Have you tried to simply delete your build folder and Sencha CMD temp files (Sencha\Cmd\repo) to see if it helps? Can you build the example app or does it also fail to build with the same exception?

  6. #6
    Sencha User
    Join Date
    May 2015
    Posts
    13

    Default

    Yes, it doesn't help

  7. #7
    Sencha User
    Join Date
    Apr 2013
    Posts
    900

    Default

    Can you build the example app? If so, can you try to create example app with the same namespace as your main app and then try to copy auto-generated files (bootstrap.js/css, build.xml, .sencha folder, etc) from the sample app to your own?

  8. #8
    Sencha Premium Member richardvd's Avatar
    Join Date
    Jun 2011
    Location
    NL
    Posts
    253

    Default

    In newer versions of Sencha Cmd the memory limit (e.g. -Xmx2048m) is read from another file: sencha.vmoptions.

  9. #9
    Sencha Premium Member rkleinkromhof's Avatar
    Join Date
    Apr 2013
    Location
    Enschede, The Netherlands
    Posts
    53

    Default

    Quote Originally Posted by richardvd View Post
    In newer versions of Sencha Cmd the memory limit (e.g. -Xmx2048m) is read from another file: sencha.vmoptions.
    This solved the Java heap space issue for me.

Similar Threads

  1. Java heap space error with cmd 6.1.0.65
    By mmancosu_intesa in forum Sencha Cmd
    Replies: 2
    Last Post: 13 Mar 2018, 4:03 AM
  2. java.lang.OutOfMemoryError: Java heap space
    By trinitrotoluen in forum Sencha Cmd
    Replies: 11
    Last Post: 1 Oct 2013, 3:39 PM
  3. Build Failing - Java heap space
    By IainP in forum Sencha Cmd
    Replies: 7
    Last Post: 1 Jun 2013, 2:09 PM
  4. Replies: 16
    Last Post: 7 Mar 2013, 8:26 AM
  5. Rule did not match cause Java Heap Space during compilation
    By Alexander7 in forum Sencha GXT Bugs
    Replies: 0
    Last Post: 2 Dec 2012, 1:53 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •