2016-04-17 14 views

Antwort

2

Sie haben sencha.cfg Datei zu bearbeiten, die in ihrem Cmd-Ordner befindet. Wenn Sie unter Windows sind - höchstwahrscheinlich hier:

C:\Users\<user>\bin\Sencha\Cmd\6.1.1.76 

Darin finden Sie den Teil mit JVM-Start Argumente:

#------------------------------------------------------------------------------ 
# These are the JVM startup arguments. The primary things to tweak are the JVM 
# heap sizes. 
# java.awt.headless=true - required to make phantomjs (used by theme slicer) 
#       work in headless environments 

# cmd.jvm.args=-Xrunjdwp:transport=dt_socket,server=y,address=8888,suspend=n -Xms128m -Xmx2048m -Djava.awt.headless=true 
cmd.jvm.args=-Xms128m -Xmx1024m -Dapple.awt.UIElement=true 

Sie können weitere Informationen über Konfigurationsdateien im Sencha Cmd Docs finden.

EDIT: Von Cmd 6.5.0 funktioniert das nicht mehr. Sie müssen _JAVA_OPTIONS

# On previous versions, this file provided a way to specify the cmd.jvm.* properties 
# to control the execution of the JVM. To accommodate all possible execution scenarios 
# support for these properties has been removed in favor of using the _JAVA_OPTIONS 
# environment variable. 
verwenden