# Gateway Crashing when passing view parameter

**URL:** <https://forum.inductiveautomation.com/t/gateway-crashing-when-passing-view-parameter/41392>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [December 10, 2020, 3:32pm UTC](https://forum.inductiveautomation.com/t/gateway-crashing-when-passing-view-parameter/41392 "2020-12-10T15:32:28Z")\
**Posts on this page:** 1\
**Showing post:** 25

<div class="post-metadata">

**Author:** ![apena](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/apena/32/84441_2.png) [@apena](https://forum.inductiveautomation.com/u/apena)\
**Post date:** [July 5, 2022, 4:22pm UTC](https://forum.inductiveautomation.com/t/gateway-crashing-when-passing-view-parameter/41392/25 "2022-07-05T16:22:19Z")

</div>

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:

1. Open the `ignition.conf` file that is located in the `data` folder that’s found in your Ignition installation path
2. Open the `ignition.conf` with any text editor
3. Within the `ignition.conf` file, 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
4. Copy/Paste the following line in the `# Java Additional Parameters` section of the `ignition.conf` file:

`wrapper.java.additional.X=-Dperspective.websocket.max-message-size=#`

1. Replace `X` in the line with the next sequential parameter number that is seen in the file.
2. Replace `#` in the line with the websocket max message size value in KB; The default size is 2048 KB when no value is specified
3. 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](https://docs.inductiveautomation.com/display/DOC81/Gateway+Command-line+Utility+-+gwcmd#GatewayCommandlineUtilitygwcmd-UsetheCommand-lineUtilitytoStartorStoptheGateway)

Here is an example of how the JVM parameter entry would look like :

 ![Websocket Max Message Size Example](https://us1.discourse-cdn.com/inductiveautomation/original/3X/9/e/9ee2d6219aee3161e1a565b067df0f3e34081dd5.png)

Doing these steps, the value that was configured will take effect.

---

_[View the full topic](https://forum.inductiveautomation.com/t/gateway-crashing-when-passing-view-parameter/41392)._
