How to Increase Java Heap Space in MATLAB

MATLAB includes a Java virtual machine that lets you run a compile Java code inside MATLAB. If you want to increase the memory available to Java (the heap space), you can do so by editing a preference setting in the program. Once the heap space is increased, you are able to run larger and more complex Java programs inside MATLAB.

Instructions

    • 1

      Open MATLAB. Click on the "Options" menu, then open the "Advanced" section.

    • 2

      Click on the "Java VM" tab.

    • 3

      Click on the "Advanced" button, then move the slider under "Heap Space" to the desired amount.

    • 4

      Click "OK" twice to apply the settings.

Related Searches:

Comments

Related Ads

Featured