Skip to content

Commit

Permalink
Merge pull request #7 from winder/memory-troubleshooting
Browse files Browse the repository at this point in the history
Memory troubleshooting ideas.
  • Loading branch information
winder committed Oct 17, 2018
2 parents 1c69fa3 + 8204028 commit b1c64b2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/guide/troubleshooting.md
Expand Up @@ -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).

0 comments on commit b1c64b2

Please sign in to comment.