# Max WebSocket Size Question

**URL:** <https://forum.inductiveautomation.com/t/max-websocket-size-question/108780>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [July 22, 2025, 5:06pm UTC](https://forum.inductiveautomation.com/t/max-websocket-size-question/108780 "2025-07-22T17:06:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kgamble](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kgamble/32/8019_2.png) [@kgamble](https://forum.inductiveautomation.com/u/kgamble)\
**Post date:** [July 22, 2025, 5:06pm UTC](https://forum.inductiveautomation.com/t/max-websocket-size-question/108780/1 "2025-07-22T17:06:30Z")

</div>

This may be a dumb question,

But I am pulling back a table of ~500k rows, and hitting limits on the max web socket size.

Obviously the dirty answer is to increase that size, and the better answer is to change the view.

My question is, what is the _negative_ to cranking that value up from 2mb to say 64mb?

> **[Perspective Parameters | Ignition User Manual](https://www.docs.inductiveautomation.com/docs/8.1/appendix/reference-pages/gateway-configuration-file-reference/perspective-parameters#web-socket-message-size)**
>
> Gateway Configuration

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [July 22, 2025, 8:57pm UTC](https://forum.inductiveautomation.com/t/max-websocket-size-question/108780/2 "2025-07-22T20:57:02Z")

</div>

More-and-less theoretical, in no particular order:

- CPU and memory consumption will increase on both sides
- Sending one massive payload means no other property sync messages can get through at the same time, leading to apparent property update delays
- DoS; maliciously sending lots and lots of very large payloads from the frontend to _intentionally_ trigger the first two issues becomes a risk.

---

<div class="post-metadata">

**Author:** ![kgamble](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kgamble/32/8019_2.png) [@kgamble](https://forum.inductiveautomation.com/u/kgamble)\
**Post date:** [July 22, 2025, 9:42pm UTC](https://forum.inductiveautomation.com/t/max-websocket-size-question/108780/3 "2025-07-22T21:42:39Z")

</div>

Good info.

Is there also a web-socket size limit for GAN? (And also a corresponding argument to control it)

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [July 22, 2025, 10:29pm UTC](https://forum.inductiveautomation.com/t/max-websocket-size-question/108780/4 "2025-07-22T22:29:52Z")

</div>

I don't see one after a quick glance at the code, but I suspect it's less of an issue for GAN because generally the websocket is only used for 'control' messages (first party) and any expected 'heavy' transmissions happen out of band via regular HTTP.
