Are you getting this error in Surpac?
at.java.awt.AWTEventMulitcaster.focusLost(AWTEventMulticaster.java:229)
If so, you need to adjust the Java heap size setting. You can do that by clicking on Customise>Default Preferences>System Options>Java Virtual Machine-Adjust the Java heap size to a bigger number.
In GEOVIA Surpac 2023, you now have options to adjust the Java heap size to 2048 and 4096