Results 1 to 2 of 2

Thread: New Example Project - Build failes - Java Heap Space

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Touch Premium Member BostonMerlin's Avatar
    Join Date
    Aug 2010
    Location
    Boston
    Posts
    559

    Default New Example Project - Build failes - Java Heap Space

    upgraded to the latest version of architect today and now projects fail with a java heap space error. I had no problem building the same project yesterday with the previous architect release.

    Created brand new blank modern project. save to local directory. set publish path to a different directory. Hit publish and get the below.

    Full log below... please help. THoughts?? Thanks,, John.



    Restart App Watch
    Stop App Watch
    Clear


    [INF] Processing Build Descriptor : default (testing environment)
    [INF] Contacting http://localhost:5123/.stop for shutdown port
    [INF] Shutdown port is 5122

    [INF] No compass watch token compass-watch
    [WRN] 8 threads could not be stopped
    [INF] Processing Build Descriptor : default (development environment)
    [INF] Loading compiler context
    [INF] Loading app json manifest...
    [INF] Starting server on port : 0
    [INF] Mapping http://localhost:0/~cmd to C:\Users\johnb\bin\Sencha\Architect\Cmd\6.5.0.180...
    [INF] Mapping http://localhost:0/ to C:\TFS\CFN.Development\Commlink\MAIN\Projects\Mobile.CFN\Mobile.News\Mobile.News\Sencha\Mobile.News...
    [INF] Server started at port : 5149
    [INF] Application available at http://localhost:5149
    [INF] Loading compiler context
    [INF] Loading app json manifest...
    [ERR]
    [ERR] BUILD FAILED
    [ERR] com.sencha.exceptions.BasicException: java.lang.OutOfMemoryError: Java heap space
    [ERR] at com.sencha.cli.Commands$C
    [ERR] md.create(Commands.java:149)
    [ERR]
    [ERR] Total time: 52 seconds
    Exception in thread "Thread-55"
    com.sencha.exceptions.BasicException: com.sencha.exceptions.BasicException: The following error occurred while executing this line:
    C:\Users\johnb\bin\Sencha\Architect\Cmd\6.5.0.180\ant\build\app\build-impl.xml:274: The following error occurred while executing this line:
    C:\Users\johnb\bin\Sencha\Architect\Cmd\6.5.0.180\ant\build\app\js-impl.xml:140: com.sencha.exceptions.BasicException: java.lang.OutOfMemoryError: Java heap space
    at com.sencha.tools.server.service.tasks.DispatchTask.execute(DispatchTask.java:55)
    at com.sencha.tools.server.service.tasks.BaseServiceTask$1.run(BaseServiceTask.java:42)
    at com.sencha.util.ThreadUtil$1.run(ThreadUtil.java:65)
    at com.sencha.util.ThreadUtil$2.run(ThreadUtil.java:162)
    at java.lang.Thread.run(Unknown Source)
    Caused by: com.sencha.exceptions.BasicException: The following error occurred while executing this line:
    C:\Users\johnb\bin\Sencha\Architect\Cmd\6.5.0.180\ant\build\app\build-impl.xml:274: The following error occurred while executing this line:
    C:\Users\johnb\bin\Sencha\Architect\Cmd\6.5.0.180\ant\build\app\js-impl.xml:140: com.sencha.exceptions.BasicException: java.lang.OutOfMemoryError: 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:306)

    at com.sencha.command.environment.AppOrPackageEnvironment.execute(AppOrPackageEnvironment.java:712)
    at com.sencha.command.BasePluginCommands$BasePluginCommand.doExecute(BasePluginCommands.java:125)
    at com.sencha.command.app.AppCommands$BuildCommand.execute(AppCommands.java:470)
    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:289)
    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.tools.server.service.tasks.DispatchTask.execute(DispatchTask.java:52)
    ... 4 more
    Caused by: C:\Users\johnb\bin\Sencha\Architect\Cmd\6.5.0.180\plugin.xml:333: The following error occurred while executing this line:
    C:\Users\johnb\bin\Sencha\Architect\Cmd\6.5.0.180\ant\build\app\build-impl.xml:274: The following error occurred while executing this line:
    C:\Users\johnb\bin\Sencha\Architect\Cmd\6.5.0.180\ant\build\app\js-impl.xml:140: com.sencha.exceptions.BasicException: java.lang.OutOfMemoryError: 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.GeneratedMethodAccessor47.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.GeneratedMethodAccessor72.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.GeneratedMethodAccessor47.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)
    ... 22 more
    Caused by: C:\Users\johnb\bin\Sencha\Architect\Cmd\6.5.0.180\ant\build\app\build-impl.xml:274: The following error occurred while executing this line:
    C:\Users\johnb\bin\Sencha\Architect\Cmd\6.5.0.180\ant\build\app\js-impl.xml:140: com.sencha.exceptions.BasicException: java.lang.OutOfMemoryError: 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.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.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)
    ... 48 more
    Caused by: C:\Users\johnb\bin\Sencha\Architect\Cmd\6.5.0.180\ant\build\app\js-impl.xml:140: com.sencha.exceptions.BasicException: java.lang.OutOfMemoryError: 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.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.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.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)
    ... 63 more
    Caused by: com.sencha.exceptions.BasicException: java.lang.OutOfMemoryError: Java heap space
    at com.sencha.cli.Commands$Cmd.create(Commands.java:167)
    at com.sencha.cli.Commands.findCommand(Commands.java:84)
    at com.sencha.cli.Commands.dispatch(Commands.java:61)
    at com.sencha.command.compile.CompileCommands.dispatch(CompileCommands.java:331)
    at com.sencha.cli.AbstractCommand.dispatch(AbstractCommand.java:124)
    at com.sencha.ant.CompileTask$CompileToken.dispatchCommand(CompileTask.java:164)
    at com.sencha.ant.CompileTask.doExecute(CompileTask.java:123)

    at com.sencha.ant.BaseAntTask.execute(BaseAntTask.java:34)
    at com.sencha.ant.CompileTask.execute(CompileTask.java:36)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
    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)
    ... 85 more
    Caused by: java.lang.OutOfMemoryError: Java heap space
    at java.util.Arrays.copyOf(Unknown Source)
    at sun.misc.IOUtils.readFully(Unknown Source)
    at java.util.jar.JarFile.getBytes(Unknown Source)
    at java.util.jar.JarFile.getManifestFromReference(Unknown Source)
    at java.util.jar.JarFile.getManifest(Unknown Source)
    at sun.misc.URLClassPath$JarLoader$2.getManifest(Unknown Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.access$100(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at com.sencha.command.compile.CompileCommands.createConcatenate(CompileCommands.java:38)
    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.cli.Commands$Cmd.create(Commands.java:149)
    at com.sencha.cli.Commands.findCommand(Commands.java:84)
    at com.sencha.cli.Commands.dispatch(Commands.java:61)
    at com.sencha.command.compile.CompileCommands.dispatch(CompileCommands.java:331)
    at com.sencha.cli.AbstractCommand.dispatch(AbstractCommand.java:124)
    at com.sencha.ant.CompileTask$CompileToken.dispatchCommand(CompileTask.java:164)
    at com.sencha.ant.CompileTask.doExecute(CompileTask.java:123)
    at com.sencha.ant.BaseAntTask.execute(BaseAntTask.java:34)
    at com.sencha.ant.CompileTask.execute(CompileTask.java:36)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    Exception in thread "Thread-57" com.sencha.exceptions.BasicException: com.sencha.exceptions.BasicException: The following error occurred while executing this line:
    C:\Users\johnb\bin\Sencha\Architect\Cmd\6.5.0.180\ant\build\app\build-impl.xml:253: The following error occurred while executing this line:
    C:\Users\johnb\bin\Sencha\Architect\Cmd\6.5.0.180\ant\build\app\watch-impl.xml:87: The following error occurred while executing this line:
    C:\Users\johnb\bin\Sencha\Architect\Cmd\6.5.0.180\ant\build\app\build-impl.xml:387: The following error occurred while executing this line:
    C:\Users\johnb\bin\Sencha\Architect\Cmd\6.5.0.180\ant\build\app\init-impl.xml:408: java.lang.OutOfMemoryError: Java heap space
    at com.sencha.tools.server.service.tasks.DispatchTask.execute(DispatchTask.java:55)
    at com.sencha.tools.server.service.tasks.BaseServiceTask$1.run(BaseServiceTask.java:42)
    at com.sencha.util.ThreadUtil$1.run(ThreadUtil.java:65)
    at com.sencha.util.ThreadUtil$2.run(ThreadUtil.java:162)
    at java.lang.Thread.run(Unknown Source)
    Caused by: com.sencha.exceptions.BasicException: The following error occurred while executing this line:
    C:\Users\johnb\bin\Sencha\Architect\Cmd\6.5.0.180\ant\build\app\build-impl.xml:253: The following error occurred while executing this line:
    C:\Users\johnb\bin\Sencha\Architect\Cmd\6.5.0.180\ant\build\app\watch-impl.xml:87: The following error occurred while executing this line:
    C:\Users\johnb\bin\Sencha\Architect\Cmd\6.5.0.180\ant\build\app\build-impl.xml:387: The following error occurred while executing this line:
    C:\Users\johnb\bin\Sencha\Architect\Cmd\6.5.0.180\ant\build\app\init-impl.xml:408: java.lang.OutOfMemoryError: 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:306)
    at com.sencha.command.environment.AppOrPackageEnvironment.execute(AppOrPackageEnvironment.java:712)
    at com.sencha.command.BasePluginCommands$BasePluginCommand.doExecute(BasePluginCommands.java:125)
    at com.sencha.command.app.AppCommands$BuildCommand.execute(AppCommands.java:470)
    at com.sencha.command.app.AppCommands$WatchCommand.execute(AppCommands.java:894)
    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:289)
    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.tools.server.service.tasks.DispatchTask.execute(DispatchTask.java:52)
    ... 4 more
    Caused by: C:\Users\johnb\bin\Sencha\Architect\Cmd\6.5.0.180\plugin.xml:378: The following error occurred while executing this line:
    C:\Users\johnb\bin\Sencha\Architect\Cmd\6.5.0.180\ant\build\app\build-impl.xml:253: The following error occurred while executing this line:
    C:\Users\johnb\bin\Sencha\Architect\Cmd\6.5.0.180\ant\build\app\watch-impl.xml:87: The following error occurred while executing this line:
    C:\Users\johnb\bin\Sencha\Architect\Cmd\6.5.0.180\ant\build\app\build-impl.xml:387: The following error occurred while executing this line:
    C:\Users\johnb\bin\Sencha\Architect\Cmd\6.5.0.180\ant\build\app\init-impl.xml:408: java.lang.OutOfMemoryError: 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.GeneratedMethodAccessor47.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.GeneratedMethodAccessor72.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.GeneratedMethodAccessor47.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)
    ... 23 more
    Caused by: C:\Users\johnb\bin\Sencha\Architect\Cmd\6.5.0.180\ant\build\app\build-impl.xml:253: The following error occurred while executing this line:
    C:\Users\johnb\bin\Sencha\Architect\Cmd\6.5.0.180\ant\build\app\watch-impl.xml:87: The following error occurred while executing this line:
    C:\Users\johnb\bin\Sencha\Architect\Cmd\6.5.0.180\ant\build\app\build-impl.xml:387: The following error occurred while executing this line:
    C:\Users\johnb\bin\Sencha\Architect\Cmd\6.5.0.180\ant\build\app\init-impl.xml:408: java.lang.OutOfMemoryError: 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.GeneratedMethodAccessor47.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)
    ... 49 more
    Caused by: C:\Users\johnb\bin\Sencha\Architect\Cmd\6.5.0.180\ant\build\app\watch-impl.xml:87: The following error occurred while executing this line:
    C:\Users\johnb\bin\Sencha\Architect\Cmd\6.5.0.180\ant\build\app\build-impl.xml:387: The following error occurred while executing this line:
    C:\Users\johnb\bin\Sencha\Architect\Cmd\6.5.0.180\ant\build\app\init-impl.xml:408: java.lang.OutOfMemoryError: 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.GeneratedMethodAccessor47.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.GeneratedMethodAccessor72.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.GeneratedMethodAccessor47.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)
    ... 63 more
    Caused by: C:\Users\johnb\bin\Sencha\Architect\Cmd\6.5.0.180\ant\build\app\build-impl.xml:387: The following error occurred while executing this line:
    C:\Users\johnb\bin\Sencha\Architect\Cmd\6.5.0.180\ant\build\app\init-impl.xml:408: java.lang.OutOfMemoryError: 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.GeneratedMethodAccessor47.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)
    ... 90 more
    Caused by: C:\Users\johnb\bin\Sencha\Architect\Cmd\6.5.0.180\ant\build\app\init-impl.xml:408: java.lang.OutOfMemoryError: 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)
    ... 104 more
    Caused by: java.lang.OutOfMemoryError: Java heap space
    at java.util.Arrays.copyOf(Unknown Source)
    at java.lang.AbstractStringBuilder.ensureCapacityInternal(Unknown Source)
    at java.lang.AbstractStringBuilder.append(Unknown Source)
    at java.lang.StringBuffer.append(Unknown Source)
    at java.io.StringWriter.write(Unknown Source)
    at java.io.PrintWriter.write(Unknown Source)
    at java.io.PrintWriter.write(Unknown Source)
    at java.io.PrintWriter.print(Unknown Source)
    at java.io.PrintWriter.println(Unknown Source)
    at java.lang.Throwable$WrappedPrintWriter.println(Unknown Source)
    at java.lang.Throwable.printStackTrace(Unknown Source)
    at java.lang.Throwable.printStackTrace(Unknown Source)
    at org.apache.tools.ant.util.StringUtils.getStackTrace(StringUtils.java:103)
    at org.apache.tools.ant.DefaultLogger.throwableMessage(DefaultLogger.java:149)
    at org.apache.tools.ant.DefaultLogger.buildFinished(DefaultLogger.java:173)
    at org.apache.tools.ant.Project.fireBuildFinished(Project.java:2093)
    at com.sencha.ant.BaseAntTask.execute(BaseAntTask.java:37)
    at com.sencha.ant.CompileTask.execute(CompileTask.java:36)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)

    at sun.reflect.GeneratedMethodAccessor47.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)

    I love being a dad (5 & 7), flying airplanes (KBED) and writing code (spaghetti).
    BostonMerlin aka John Bond aka JB
    See U @ SenchaCon '13

  2. #2
    Sencha User
    Join Date
    Sep 2014
    Location
    Central Europe
    Posts
    795

    Default

    With the upgrade of the SA, did Cmd / Ext versions changed?

    Have you tried simply restart computer. You can setup the Cmd heap size using _JAVA_OPTIONS as a environment variable. By default it's only 1GB max I think, I often had to increase this value in the larger projects.

    SET _JAVA_OPTIONS =-Xms512m-Xmx2048m

    https://www.nextofwindows.com/how-to-addedit-environment-variables-in-windows-7

Similar Threads

  1. Replies: 1
    Last Post: 28 Oct 2014, 3:57 PM
  2. App build failed => Java Heap Space problem
    By Renan Cunha in forum Sencha Cmd
    Replies: 3
    Last Post: 2 Aug 2013, 9:04 AM
  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

Posting Permissions

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