Increasing JavaMemHeapMax for MATLAB on CentOS

Some of your MATLAB application may require more Java Heap Memory than the default. You may want to edit your ~/.matlab/R2017a/matlab.prf. If you do not have it, just create the file

1. Create matlab.prf

$ touch ~/.matlab/R2017a/matlab.prf

2. Increase memory to 36GB

$ vim ~/.matlab/R2017a/matlab.prf


  1. Change Java Heap Memory Settings Without Starting Matlab?

One thought on “Increasing JavaMemHeapMax for MATLAB on CentOS

  1. Pingback: MATLAB on-disk crash | Bits and Dragons

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.