# Maximum number of characters allowed in a custom text property?

**URL:** <https://forum.inductiveautomation.com/t/maximum-number-of-characters-allowed-in-a-custom-text-property/102341>\
**Category:** Ignition\
**Tags:** perspective, ignition81\
**Created:** [February 13, 2025, 9:57pm UTC](https://forum.inductiveautomation.com/t/maximum-number-of-characters-allowed-in-a-custom-text-property/102341 "2025-02-13T21:57:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ryan.white](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ryan.white/32/73193_2.png) [@ryan.white](https://forum.inductiveautomation.com/u/ryan.white)\
**Post date:** [February 13, 2025, 9:57pm UTC](https://forum.inductiveautomation.com/t/maximum-number-of-characters-allowed-in-a-custom-text-property/102341/1 "2025-02-13T21:57:39Z")

</div>

For purely educational purposes (wink wink) what is the theoretical maximum number of characters I can have in a custom string property on a perspective component?

I've seen the limit for [memory tags](https://forum.inductiveautomation.com/t/memory-string-tag-and-text-area-maximum-number-of-characters-size-of-string/46750), does that same limit apply to custom properties on perspective components?

I imagine it would be that limit minus all the characters taken for the actual view configuration.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [February 13, 2025, 10:05pm UTC](https://forum.inductiveautomation.com/t/maximum-number-of-characters-allowed-in-a-custom-text-property/102341/2 "2025-02-13T22:05:10Z")

</div>

Java strings can be ~4GB. Somewhat less than that, I would presume.

---

<div class="post-metadata">

**Author:** ![msteele](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/msteele/32/77889_2.png) [@msteele](https://forum.inductiveautomation.com/u/msteele)\
**Post date:** [February 14, 2025, 2:28am UTC](https://forum.inductiveautomation.com/t/maximum-number-of-characters-allowed-in-a-custom-text-property/102341/3 "2025-02-14T02:28:28Z")

</div>

you're putting string encoded view json into custom properties in your UDTs, aren't you? 😉

---

<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:** [February 14, 2025, 4:19pm UTC](https://forum.inductiveautomation.com/t/maximum-number-of-characters-allowed-in-a-custom-text-property/102341/4 "2025-02-14T16:19:18Z")

</div>

Long before you hit Java or JS string size limits, you'll bump into limitations syncing property messages:

> **[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

Marking properties as private will help with this (as we will no longer unnecessarily sync `custom` properties to the frontend), but I'd still expect you to start getting issues with things like saving your project in a timely manner and general slowdown/weirdness as you give us a way bigger value than we're "expecting" _way_ before you hit the max length of a string.

I wouldn't put more than a few thousand characters into a Perspective property, and even then I'd question my design assumptions and be actively planning a different solution.
