As my colleague @cmallonee mentioned, for those who need steps to add/modify the websocket max message size for Perspective, you will need to do the following to add the JVM parameter to Ignition:
- Open the
ignition.conffile that is located in thedatafolder that’s found in your Ignition installation path - Open the
ignition.confwith any text editor - Within the
ignition.conffile, scroll down to where it says# Java Additional Parameters; This is the location where JVM parameters are added into Ignition and where we will be adding our web socket max message size parameter - Copy/Paste the following line in the
# Java Additional Parameterssection of theignition.conffile:
wrapper.java.additional.X=-Dperspective.websocket.max-message-size=#
- Replace
Xin the line with the next sequential parameter number that is seen in the file. - Replace
#in the line with the websocket max message size value in KB; The default size is 2048 KB when no value is specified - Save changes to the ignition.conf file; A restart of the Ignition gateway service will be required for the changes to take effect. This can be done by following the instructions that are provided in the following link: Gateway Command-line Utility - gwcmd - Ignition User Manual 8.1 - Ignition Documentation
Here is an example of how the JVM parameter entry would look like :
Doing these steps, the value that was configured will take effect.
