Hey everyone,
I just update to 8.1.47 from 8.1.32 and now any time I go from a project to another project in vision, when I try to get back to the original project, I get the Java heap space error.. This started after the upgrade.
My client memory is
32mb min
512mb max
And here is my ignition.conf screenshot of the max/min heap size
I vaguely recall a report of a memory leak in Vision project switching. You should open a support ticket to confirm. Consider raising your client initial and max memory settings (512 & 1024 MB, perhaps).
This would not be related to the gateway settings in ignition.conf. (Your initial should be the same as the max in ignition.conf on production systems.)
I did switch to max 512mb on client and that seems to have fixed it.
I'll keep it at that for now. If I need to, I'll go to 1024 MB.
Thanks for the quick response @pturmel
The general best practice is to have Ignition allocate all the memory when it loads as it will eventually reach max, so might as well have it allocate it all that way it's available from the start.
Are you switching projects in the client instance (via system.util.retarget?) or are you switching projects you have open in the designer? That's a totally separate memory setting (and still as of 8.1.47 subject to a memory leak, unfortunately).