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...
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:
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)