User Tools

Site Tools


user-guide:advanced-groimp-arguments

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
user-guide:advanced-groimp-arguments [2024/06/25 12:58] gaetanuser-guide:advanced-groimp-arguments [2024/07/05 15:13] (current) gaetan
Line 25: Line 25:
   - ''-Xmx3000m'' set the maximum heap size the JVM have access (here to 3GB). If your projects fail at runtime due to memory issues, you probably want to increase this value.   - ''-Xmx3000m'' set the maximum heap size the JVM have access (here to 3GB). If your projects fail at runtime due to memory issues, you probably want to increase this value.
   - ''-Xss1m'' set threads stack size limit. Some GroIMP model can require a lot of memory for compilation (when you save or open a model). If your project fails at compilation due to memory issues, you probably need to increase this value. Be careful however, the memory allocated due to this argument is pushed to **all** thread created by GroIMP. Thus, in can lead to huge memory consuption.   - ''-Xss1m'' set threads stack size limit. Some GroIMP model can require a lot of memory for compilation (when you save or open a model). If your project fails at compilation due to memory issues, you probably need to increase this value. Be careful however, the memory allocated due to this argument is pushed to **all** thread created by GroIMP. Thus, in can lead to huge memory consuption.
-  - ''-p /path/to/a/directory/'' link a directory to the list of loaded plugins.  
  
 **Note: if you run GroIMP from Eclipse, the java arguments can be set in the Run Configuration...>x() = Arguments>JVM arguments** **Note: if you run GroIMP from Eclipse, the java arguments can be set in the Run Configuration...>x() = Arguments>JVM arguments**
Line 39: Line 38:
   - ''--headless'' this argument start GroIMP headless, i.e. without a graphical interface. Usually you also define the project to open as an argument (see 4.).   - ''--headless'' this argument start GroIMP headless, i.e. without a graphical interface. Usually you also define the project to open as an argument (see 4.).
   - ''-a api'' this argument defines which application will be started (current available application: ''imp'', ''cli'', ''api''). By default GroIMP starts with ''imp''.   - ''-a api'' this argument defines which application will be started (current available application: ''imp'', ''cli'', ''api''). By default GroIMP starts with ''imp''.
 +  - ''-p /path/to/a/directory/'' link a directory to the list of loaded plugins. 
   - ''path/to/a/model.gsz'' this argument **requires** to be used last. It gives a model to be opened after start.   - ''path/to/a/model.gsz'' this argument **requires** to be used last. It gives a model to be opened after start.
 +
 +
 +See more:
 +  * [[:user-guide:command-line-arguments|All command line arguments]]
  
 == Additional model specific parameters == == Additional model specific parameters ==
user-guide/advanced-groimp-arguments.1719313135.txt.gz · Last modified: 2024/06/25 12:58 by gaetan