@Paul.Scott
Ignition 8.0.7 and probably Ignition 8.0.8 nightly, when I add a project in the client launcher, the vision-client-launcher.json user file is created with
"init.heap": null,
"max.heap": null,
"applications": [
{
"project": "STVG_GTC",
"allow.windowed.launching": null,
"allow.fullscreen.launching": null,
"name": "STVG_GTC",
"description": null,
"main.class": "com.inductiveautomation.factorypmi.application.runtime.ClientLaunchHook",
"gateway.info": {
"gateway.name": "Ignition-TVG-GTC01",
"gateway.address": "http://10.1.3.10:8088",
"redundant.gateways": [
"http://10.1.3.11:8088"
]
},
"window.mode": null,
"timeout": 30,
"screen": null,
"retries": -1,
"init.heap": null,
"max.heap": null,
"sun.java2d.d3d": null,
"sun.java2d.noddraw": null,
"jvm.arguments": [],
"last.updated": 1578920833391,
"client.tag.overrides": {},
"image.path": null,
"fallback.application": "",
"use.custom.jre": false,
"custom.jre.path": "${JAVA_HOME}/bin/java"
}
]
If I manually export the config, I have in the exported vision-client-launcher.json
"init.heap": 1024M,
"max.heap": 4096M,
If I use a command to launch my application
.\visionclientlauncher.exe gateway.address=10.1.3.10:8088:8043 application=STVG_GTC project=STVG_GTC window.mode=fullscreen screen=0 show.closebutton=false -Djavaws.launchparams="modeMurImage" -Djavaws.launchparam.modeMurImage=0
The client has only 256 Mo of memory
If I add init.heap=1024M max.heap=4096M
.\visionclientlauncher.exe gateway.address=10.1.3.10:8088:8043 init.heap=1024M max.heap=4096M application=STVG_GTC project=STVG_GTC window.mode=fullscreen screen=0 show.closebutton=false -Djavaws.launchparams="modeMurImage" -Djavaws.launchparam.modeMurImage=0
The client has only 256 Mo of memory available :
If I manually modify the user file vision-client-launcher.json
"init.heap": 1024M,
"max.heap": 4096M,
The client has 4096Mo of memory available as requested by the project/client launcher settings
I think there is a bug in the client launcher : the vision-client-launcher.json is not updated for memory settings