Hybrid View

  1. #1
    Ext JS Premium Member
    Join Date
    Dec 2010
    Location
    Luxembourg
    Posts
    193
    Vote Rating
    2
    EAHC-IT is on a distinguished road

      0  

    Default cmd.version=3.0.2.288 - java.lang.OutOfMemoryError: Java heap space

    cmd.version=3.0.2.288 - java.lang.OutOfMemoryError: Java heap space


    Hello,

    I give a try to CMD but I receive this message
    Code:
    [ERR]
    [ERR]           BUILD FAILED
    [ERR]           com.sencha.exceptions.BasicException: java.lang.OutOfMemoryError: Java heap space
    [ERR]                   at com.sencha.cli.Commands$Cmd.create(Commands.java:117)
    [ERR]                   at com.sencha.cli.Commands.findCommand(Commands.java:74)
    [ERR]                   at com.sencha.cli.Commands.dispatch(Commands.java:43)
    [ERR]                   at com.sencha.cli.Commands.dispatch(Commands.java:49)
    In the sencha.cfg (unmodified): cmd.jvm.args=-Xms128m -Xmx1024m

    What I am supposed to do (the computer has 8g with 4g free)

    Thank you

  2. #2
    Ext JS Premium Member
    Join Date
    Dec 2010
    Location
    Luxembourg
    Posts
    193
    Vote Rating
    2
    EAHC-IT is on a distinguished road

      0  

    Default


    I found the solution by altering the cfg java command line
    Code:
    cmd.jvm.args=-Xms1536m -Xmx1536m

  3. #3
    Ext JS Premium Member
    Join Date
    Dec 2010
    Location
    Luxembourg
    Posts
    193
    Vote Rating
    2
    EAHC-IT is on a distinguished road

      0  

    Exclamation


    In fact, it only solve the generate action but not the production build action...

  4. #4
    Sencha User lsdriscoll's Avatar
    Join Date
    Jan 2012
    Location
    Bournemouth, UK
    Posts
    27
    Vote Rating
    15
    lsdriscoll will become famous soon enough

      0  

    Default


    Have you tried commenting the line out altogether?

  5. #5
    Ext JS Premium Member
    Join Date
    Dec 2010
    Location
    Luxembourg
    Posts
    193
    Vote Rating
    2
    EAHC-IT is on a distinguished road

      0  

    Default


    Quote Originally Posted by lsdriscoll View Post
    Have you tried commenting the line out altogether?
    No I did not. I tried -> Not working

    JAVA use around 1 604 480k while running... With 25% of CPU (4 core)

  6. #6
    Sencha User lsdriscoll's Avatar
    Join Date
    Jan 2012
    Location
    Bournemouth, UK
    Posts
    27
    Vote Rating
    15
    lsdriscoll will become famous soon enough

      0  

    Default


    If you've got 4gb free to play with then I'd keep adjusting the memory settings until you have it right.

    Start with cmd.jvm.args=-Xms128m -Xmx2048m and keep adjusting the -Xmx setting until it works.

    I haven't seen anyone else with this issue so it could be specific to your machine. Are you running the latest and greatest version of java?

    Also, produce a bootstrap file and check to see if it's doing something crazy like trying to include ext-all.js. That would consume a lot of memory.
    Last edited by lsdriscoll; 8 Feb 2013 at 8:19 AM. Reason: Formatting. How did Sencha manage to screw up CKEditor???

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi