Error ignition java heap space

Hello everyone, when I got this error appears:

Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
	at com.inductiveautomation.factorypmi.application.components.VisionAdvancedTable.lambda$updateViewDataset$3(VisionAdvancedTable.java:699)
	at com.inductiveautomation.factorypmi.application.components.VisionAdvancedTable$$Lambda$608/0x0000000100b5a840.run(Unknown Source)
	at com.inductiveautomation.ignition.client.util.EDTUtil$ProcessQueue.run(EDTUtil.java:126)
	at java.desktop/java.awt.event.InvocationEvent.dispatch(Unknown Source)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
	at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)

A file is being created, the next file, I understand that something is consuming memory but I can't find that element, I just got this on the notes:

NonResponsiveEdt-2023-08-14_120627.json (38.4 KB)

Each Vision project has a client memory setting, that the client uses locally to limit workstation memory usage. You should check that and see if it is reasonable for your application. Use the Vision client diagnostics window (from the help menu) to get to the live memory usage tab so you can see what you have going on.

4 Likes

Both your thread dump and stacktrace of the OoM error implicate an extremely overloaded Power Table component, by the way.

3 Likes