
To disable the cyclic buffer, set =disabled. If the console output size exceeds this value, the oldest lines are deleted. Maximum size of the console cyclic buffer (in kilobytes). Coding assistance for large files can affect editor performance and increase memory consumption. Maximum size of files (in kilobytes) for which GoLand provides coding assistance. Working with large files can affect editor performance and increase memory consumption. Maximum size of files (in kilobytes) that GoLand is able to open. For more information, see Change the location of IDE directories. Users often change the location of the default IDE directories. The properties in this file will override the corresponding properties in both the original default file and the one located in the GoLand configuration directory. If you do not have write access to the GoLand configuration directory, you can add the GOLAND_PROPERTIES environment variable to specify the location of the idea.properties file.

If you cannot start GoLand, manually create an empty idea.properties file in the GoLand configuration directory. If you do not have any project open, on the Welcome screen, click Configure and then select Edit Custom Properties. Configure platform properties:ĭo one of the following to create an empty idea.properties file in the configuration directory that will override the values from the original file:įrom the main menu, select Help | Edit Custom Properties. Moreover, in case of macOS, editing this file violates the application signature. The default properties used to run GoLand are specified in the following file:ĭo not change platform properties in the default file, because it is replaced when GoLand is updated. GoLand enables you to customize various platform-specific properties, such as the path to user-installed plugins and the maximum supported file size.
#Java vm for mac os windows
In this case, try setting -XX:NewRatio=1, which will make the young generation as large as the old generation, allowing objects to remain in the young generation for longer.įor more information about the available JVM options, see the java reference for Windows or macOS/Linux. However, if you are constantly opening new files and switching between several projects, you may need to increase the young generation.

This will set the size of the young generation to be 1/2 to 1/4 of the old generation correspondingly, which is good when you are often working on one project and only a few files at a time. In most cases, a ratio between 2 and 4 is recommended. Specifies the ratio between the size of the young and old generation of the heap. It is usually set to about half of the maximum allowed memory ( -Xmx), for example, -Xms1024m. The default value depends on the platform. Specifies the initial memory allocated by the JVM for running GoLand.

If you are experiencing slowdowns, you may want to increase this value, for example, to set the value to 2048 megabytes, change this option to -Xmx2048m.įor more information, see Increase the memory heap of the IDE. Limits the maximum memory heap size that the JVM can allocate for running GoLand. The following are the most commonly modified ones: The default values of the JVM options should be optimal in most cases. Open the Toolbox App, click the screw nut icon for the necessary instance, and select Settings. If you are using the Toolbox App, it manages the installation and configuration directory and lets you configure JVM options for every IDE instance. This file will override both the original default file and the copy located in the GoLand configuration directory. If you do not have write access to the GoLand configuration directory, you can add the GOLAND_VM_OPTIONS environment variable to specify the location of the file with your preferred JVM options. If you cannot start GoLand, manually copy the default file with JVM options to the GoLand configuration directory. If you do not have any project open, on the Welcome screen, click Configure and then Edit Custom VM Options. Configure JVM optionsĭo one of the following to create a copy of the default file with JVM options in the configuration directory that will override the original file:įrom the main menu, select Help | Edit Custom VM Options.

Do not change JVM options in the default file, because it is replaced when GoLand is updated.
