Error out of Memory

Good Morning.

In Ignition 8.0.14, I have developed an application that uses several images, but they are not very heavy (from 15 kb to 60 kb). If I run the application in the designer (F10), it runs without problems. But when running on a client PC, many images do not load or load randomly, and sometimes the error “OutOfMemoryError: Java heap space” occurs, even though the process is only using 400 MB of RAM.
In the project properties the maximum client memory has been increased to 4GB, but this does not solve the issue.

Best Regards.

Are you sure that memory setting is reaching the client? Open the client diagnostics (from the help menu) and watch the memory chart while that screen opens. You may need to re-create a launch shortcut.

Can you share the full stack trace you get (from clicking “full” on that error message)?

Good morning.

I have already fixed the problem. Some images had a very high resolution although they were light (50 kb) because they had a large transparent area.
I just lowered the resolution.

Best Regards.

1 Like