Trace:
Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
visionx:faq_tech [2021/06/30 11:04] admin |
visionx:faq_tech [2021/07/01 07:29] admin |
||
---|---|---|---|
Line 44: | Line 44: | ||
[[visionx:data_modeling_and_representation#views_and_storages|Views and Storages]] \\ | [[visionx:data_modeling_and_representation#views_and_storages|Views and Storages]] \\ | ||
[[visionx:data_modeling_and_representation#create_dropdown_without_foreign-key_relation|Create Dropdown Without Foreign-Key Relation]] | [[visionx:data_modeling_and_representation#create_dropdown_without_foreign-key_relation|Create Dropdown Without Foreign-Key Relation]] | ||
+ | |||
+ | ==== Out of memory in VisionX ==== | ||
+ | |||
+ | If you get an Out of memory exception or a Java heap space problem, simply increase the memory of VisionX in visionx.bat or visionx.sh: | ||
+ | |||
+ | <code> | ||
+ | @ECHO OFF | ||
+ | .\runtime\bin\java -Xmx512M ... -jar lib\visionxloader.jar | ||
+ | </code> | ||
+ | |||
+ | Change **512M** to e.g. **1G** or **1500M**. Don't forget to restart VisionX. | ||
+ | |||
+ | ==== Additional JVM start parameters ==== | ||
+ | |||
+ | On Windows, VisionX is usually started with visionx.exe. To define additional JVM parameters, however, visionx.bat must be used, as any JVM parameters can be set with it, e.g .: | ||
+ | |||
+ | <code> | ||
+ | @ECHO OFF | ||
+ | .\runtime\bin\java -Xmx512M -Dfile.encoding=UTF-8 ... -jar lib\visionxloader.jar | ||
+ | </code> | ||
+ | In this example, the system parameter **file.encoding** was set to **UTF-8**. | ||
+ | |||
+ | However, it is entirely possible to set any JVM parameters when using visionx.exe. Since VisionX uses the open source project launch4j, all features of the library can be used, such as the possibility of entering the JVM parameters in an ini file: | ||
+ | |||
+ | All you have to do is create a file called **visionx.l4j.ini** in the same directory as visionx.exe. The file can then be filled with the desired parameters: | ||
+ | |||
+ | <code ini> | ||
+ | -Dfile.encoding=UTF-8 | ||
+ | </code> |