This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

java heap space

Other Parts Discussed in Thread: CCSTUDIO

Hello,

In my CCS5.2 (5.2.0.00069), the heap memory increases up to the maximum of 381MB and then freezes, as soon as I open my .cfg file.
Due to this, I tried to improve the heap memory by changing the -Xmx381 parameter to -Xmx512 in the eclipse.ini file - but CCS still only allocates 381MB.
Can anybody tell me what's wrong with my CCS and what can I do to prevent the crash --> Yes, I run the carbage collector manually from time to time.

best regards

Stéphane Peter

  • Stéphane,

    Very interesting; I have found heap exhaustion only with extreme debug configurations (10+ processors) and during the indexer operation of very complex projects (hundreds of source files) - that is the first time I see it while opening a .cfg file.

    In any case, I was able to increase the heap size by editing <ccstudio.ini> (not <eclipse.ini>) without problems - please check the screen below.

    Keep in mind that CCSv5 uses a 32-bit JVM and therefore you are limited to 2GB of total memory usage (last time I checked).

    Hope this helps,

    Rafael

  • Hi Rafael,

    Thanks a lot!

  • The heap detection popup message should be updated to ccstudio.ini for the upcoming 5.3 release. Thanks!

    Patrick