How to fix PCGen out-of-memory errors

How to fix PCGen out-of-memory errors

On Mac, I frequently get out of memory errors when rendering to PDF. These steps will solve it, but need to be done for each new download of PCGen.

1) Right-click PCGen.app, Show Package Contents

2) In the Contents folder, open Info.plist in any text editor (TextEdit.app)

3) Find the line VMOptions

4) Change the next line to -Xms128m -Xmx1024m -XX:MaxPermSize=256m

5) maybe increase those numbers even more if you’ve got a sturdy machine and don’t mind trading some RAM for better performance.

#pcgen   #outofmemory  

One reply on “How to fix PCGen out-of-memory errors”

  1. Heh, amusingly I upgraded to Java 8 on this machine for unrelated reasons tonight, and discovered that MaxPermSize is deprecated and ignored. Looks like a problem that won’t bite me again.

Comments are closed.