CONFIGURE YOUR SYSTEM
For most 2D plotting, Javapeño does not require any special configuration.
3D plots require a lot of memory. Java, by default, does not allocate enough memory for its virtual machine to have more than a few (if any) 3D plots open. To fix this, please follow these steps:
- For Javapeño in application mode: Just run the bat file/shell script provided with Javapeño.
If you still have problems, then you may need to alter the bat file/shell script.
- Open the bat file/shell script in your favorite text editor (Windows users open it with Notepad)
- Edit the portion that starts with "-XmxNUMm", where NUM is a value.
- Increase the value of NUM.
- WARNING: Entering too large a value for num will prevent Java from starting.
- For Javapeño in applet mode:
- Windows:
- Open Control Panel and double-left-click on the Java icon.
- Click on the Java tab.
- Click on the View button in the Java Applet Runtime Settings.
- Add (or modify) "-XmxNUMm" to the Java Runtime Parameters field (without the quotes). NUM should be the
amount of memory to give to Java. The m after NUM means megabytes (or million bytes).
- WARNING: Entering too large of a value for NUM will prevent Java from starting.
- Mac:
- Open Finder.
- Double click on Utilities.
- Double click on Java.
- Double click on J2SE 5.0
- Double click on Java Settings.
- Add (or modify) "-XmxNUMm" to the Java Applet Runtime Parameter field (without the quotes).
NUM should be the amount of memory to give to Java. The m after NUM means megabytes (or million bytes).
- WARNING: Entering too large of a value for NUM will prevent Java from starting.
- Others
- Launch ControlPanel from the Java JRE bin. The JRE bin should be located at <Java_Installation_DIR>/jre/bin.
- Click on the Java tab.
- Click on the View button in the Java Applet Runtime Settings.
- Add (or modify) "-XmxNUMm" to the Java Runtime Parameters field (without the quotes).
NUM should be the amount of memory to give to Java. The m after NUM means megabytes (or million bytes).
- WARNING: Entering too large of a value for NUM will prevent Java from starting.