# Java Heap Space error in Designer on Dataset script transform

**URL:** <https://forum.inductiveautomation.com/t/java-heap-space-error-in-designer-on-dataset-script-transform/111602>\
**Category:** Ignition\
**Tags:** ignition81, scripting, perspective\
**Created:** [October 20, 2025, 6:01pm UTC](https://forum.inductiveautomation.com/t/java-heap-space-error-in-designer-on-dataset-script-transform/111602 "2025-10-20T18:01:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mdemaris](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mdemaris/32/54639_2.png) [@mdemaris](https://forum.inductiveautomation.com/u/mdemaris)\
**Post date:** [October 20, 2025, 6:01pm UTC](https://forum.inductiveautomation.com/t/java-heap-space-error-in-designer-on-dataset-script-transform/111602/1 "2025-10-20T18:01:28Z")

</div>

Hi all,

I'm using a custom function on a table to set the column properties, then a script transform to get the values and fine tune any additional column props.

The dataset I am working with has almost 1900 rows, 20 columns. This is the link to the thread for all the scripts: [Cell value change...](https://forum.inductiveautomation.com/t/cell-value-change-problem-on-table-with-embedded-views/111488)

The table's pager is enabled.

The reason I would like to use this scripting is to customize the table with color styling and using one embedded view in one column, so that when a value is changed, the row or cell will change color and indicate that it has been edited.

I get the `Java Heap Space` error on this table with almost 1900 rows. So, aside from changing the heap memory in the config file, are there other things I should or could do to prevent this?

Thanks.

Full error message in console:

```python
10:43:41.244 [IPC Memory Reader Thread] ERROR unknown.jul.logger -- Calling RPC response observer... [FAIL] request_id { value: 5604 } response_data { serialized_message: "[...24754247]" }
java.lang.OutOfMemoryError: Java heap space
	at java.base/java.lang.StringUTF16.newBytesFor(Unknown Source)
	at java.base/java.lang.String.<init>(Unknown Source)
	at com.teamdev.jxbrowser.deps.com.google.protobuf.Utf8$UnsafeProcessor.decodeUtf8(Utf8.java:1370)
	at com.teamdev.jxbrowser.deps.com.google.protobuf.Utf8.decodeUtf8(Utf8.java:341)
	at com.teamdev.jxbrowser.deps.com.google.protobuf.CodedInputStream$ArrayDecoder.readStringRequireUtf8(CodedInputStream.java:815)
	at com.teamdev.jxbrowser.js.internal.rpc.JsValue$Builder.mergeFrom(JsValue.java:1257)
	at com.teamdev.jxbrowser.js.internal.rpc.JsValue$Builder.mergeFrom(JsValue.java:966)
	at com.teamdev.jxbrowser.deps.com.google.protobuf.CodedInputStream$ArrayDecoder.readMessage(CodedInputStream.java:872)
	at com.teamdev.jxbrowser.js.internal.rpc.ReturnValue$Builder.mergeFrom(ReturnValue.java:507)
	at com.teamdev.jxbrowser.js.internal.rpc.ReturnValue$Builder.mergeFrom(ReturnValue.java:334)
	at com.teamdev.jxbrowser.deps.com.google.protobuf.AbstractMessage$Builder.mergeFrom(AbstractMessage.java:418)
	at com.teamdev.jxbrowser.deps.com.google.protobuf.AbstractMessage$Builder.mergeFrom(AbstractMessage.java:317)
	at com.teamdev.jxbrowser.deps.com.google.protobuf.AbstractMessageLite$Builder.mergeFrom(AbstractMessageLite.java:186)
	at com.teamdev.jxbrowser.deps.com.google.protobuf.AbstractMessage$Builder.mergeFrom(AbstractMessage.java:517)
	at com.teamdev.jxbrowser.deps.com.google.protobuf.AbstractMessage$Builder.mergeFrom(AbstractMessage.java:317)
	at com.teamdev.jxbrowser.internal.rpc.ServiceChannel$1.onNext(ServiceChannel.java:59)
	at com.teamdev.jxbrowser.internal.rpc.ServiceChannel$1.onNext(ServiceChannel.java:53)
	at com.teamdev.jxbrowser.internal.rpc.transport.SharedMemoryTransport.onDataAvailable(SharedMemoryTransport.java:62)

```

---

<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:** [October 20, 2025, 6:17pm UTC](https://forum.inductiveautomation.com/t/java-heap-space-error-in-designer-on-dataset-script-transform/111602/2 "2025-10-20T18:17:27Z")

</div>

> [@mdemaris](#):
>
> aside from changing the heap memory in the config file

The out of memory error here is the heap space of the **designer** , not the Ignition gateway process (configured via the configuration file).

The Designer's heap memory can be configured in gateway settings or locally overridden in the launcher settings.

---

<div class="post-metadata">

**Author:** ![mdemaris](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mdemaris/32/54639_2.png) [@mdemaris](https://forum.inductiveautomation.com/u/mdemaris)\
**Post date:** [October 20, 2025, 8:29pm UTC](https://forum.inductiveautomation.com/t/java-heap-space-error-in-designer-on-dataset-script-transform/111602/3 "2025-10-20T20:29:13Z")

</div>

Gotcha. Thanks Paul.
