Try Studio 3T for Free
  1. Knowledge Base
  2. Studio 3T Documentation
  3. How to Increase Memory or Heap Size in Studio 3T

How to Increase Memory or Heap Size in Studio 3T

Heap size is the amount of memory allocated to run any given application.

You can increase the heap size in Studio 3T by making changes to the vmoptions file.

On Windows, the vmoptions file is located in:

C:/Program Files/3T Software Labs/Studio 3T

Go to the Studio 3T folder and choose the Studio3T.vmoptions file.

On Mac OS X, you need to go to Applications and right-click on Studio 3T and choose Show Package Contents, which should open the Contents folder.

Studio 3T vmoptions file in Mac OS X

On Linux, the file is located in:

 ~/studio3t/Studio-3T.vmoptions

The maximum heap size is declared in the -Xmx part, located on the third line:

Update the heap size where it says Xmx

Other parameters used to control heap size are:

  • -Xms – Specifies the initial heap size
  • -Xss – Sets the thread stack size

To increase the heap size in Studio 3T, update the -Xmx line using the accepted notation or syntax:

  • -Xmx1024m or –Xmx1024M
  • -Xmx1g or -Xmx1G
Updated on February 18, 2020

Was this article helpful?

Related Articles