What Do I Do If MindStudio IDE Cannot Be Started When the Set Memory Is too Large?
Symptom
When I start MindStudio IDE on Linux, error message "Could not reserve enough space for xxx object heap" is displayed, as shown in the following figure.

Possible Cause
Choose Help > Change Memory Settings on the menu bar. In the Memory Settings window displayed (as shown in Figure 1), you can find that the set running memory is greater than the host memory. For example, the host memory is 512 MB, but the set memory is 2014 MB.
The size of the running memory must range from 256 to 2147483647. If the set value is out of this range, message "The value should be an integer" is displayed after you click Save and Restart.

Solution
Access the mindstudio64.exe.vmoptions file in the user directory and change the value of -Xmx to a proper value that is at least less than the host memory.
Linux: ~/.config/Huawei/MindStudioMS-{version}/mindstudio64.vmoptions

Parent topic: Configuration Procedure
