Results 1 to 3 of 3

Thread: Java heap space error with cmd

  1. #1

    Default Java heap space error with cmd

    java 1.8.0_73
    windows 8.1 64bit

    I obtain java heap space error during the sencha app build. I've tried to increase the Xmx in sencha.cfg from 1024 to 2048 (from here) but it doesn't resolve the problem.
    With sencha cmd I don't have the problem at all.


  2. #2
    Sencha - Sustaining Engineer tristan.lee's Avatar
    Join Date
    Mar 2015
    Central Ohio


    Are there any particular errors logged prior to the heap space error? If you could provide a debug log (sencha -d app build > build.log), that may shed some light on the issue.
    Tristan Lee
    Sencha Inc - Sustaining Engineer

    Having an issue? Help us help you - be detailed; provide some code; demonstrate with a fiddle (

    Embed your fiddle in your post: [FIDDLE]id[/FIDDLE]

  3. #3
    Sencha Premium Member rkleinkromhof's Avatar
    Join Date
    Apr 2013
    Enschede, The Netherlands


    For future reference, newer versions of Sencha Cmd read their vm options from the sencha.vmoptions file, as mentioned in this post.

Similar Threads

  1. Replies: 1
    Last Post: 28 Oct 2014, 3:57 PM
  2. java.lang.OutOfMemoryError: Java heap space
    By trinitrotoluen in forum Sencha Cmd
    Replies: 11
    Last Post: 1 Oct 2013, 3:39 PM
  3. App build failed => Java Heap Space problem
    By Renan Cunha in forum Sencha Cmd
    Replies: 3
    Last Post: 2 Aug 2013, 9:04 AM
  4. Build Failing - Java heap space
    By IainP in forum Sencha Cmd
    Replies: 7
    Last Post: 1 Jun 2013, 2:09 PM
  5. 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