From 82040280e4bd5a231455232e9df210ad55dd0f57 Mon Sep 17 00:00:00 2001 From: winder Date: Wed, 17 Oct 2018 10:51:33 -0400 Subject: [PATCH] Memory troubleshooting ideas. --- docs/guide/troubleshooting.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/guide/troubleshooting.md b/docs/guide/troubleshooting.md index 7348f91..06cd4f9 100644 --- a/docs/guide/troubleshooting.md +++ b/docs/guide/troubleshooting.md @@ -83,3 +83,11 @@ Use the **_JAVA_AWT_WM_NONREPARENTING** environment property to fix the problem: ```shell export _JAVA_AWT_WM_NONREPARENTING=1 ``` + +# Program Slows Down and Send Freezes + +If you notice slowness while running your program, it may mean UGS is running out of available memory. There are a couple things to try: + +1. Check the controller settings, and make sure "Arc Expander" is not enabled. This can take a small program and turn it into a very large one by converting arcs into many small movements. +2. Increase the memory allocated to UGS by navigating the the intsallation directory (See paths above). There is a folder named `etc` containing `ugsplatform.conf`, open this file with a simple text editor and modify the value of Xms to something like `-J-Xms256m`, or larger. [Additional details can be found here](http://wiki.netbeans.org/FaqSettingHeapSize). +