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.
Tool/software: Code Composer Studio
Hi!
I have been using CCS Version: 7.1.0.00016 for half a year now without any problems of significance. The last week however, I have received with increasing intensity warnings about the Java heap space. I have increased the Xmx size in the eclipse.ini file first to 1024 then to 2048 without getting rid of the error messages. When I try to increase the size to above 1024 in ccs.ini, ccs won't start at all. Currently, I am not able to work with ccs as the warnings which also includes "An internal error occured during 'Computing Macro expansion'" results in a shutdown of ccs.
Could you please advise me what to do as I am stuck here.
Best regards,
Jan
Hi Jan,
I am assuming that you are on Windows since the vast majority of these "out of memory" and heap space issues occur on CCS for Windows. This is because CCS for Windows is still a 32-bit application (we are planning have CCS be 64-bit starting with CCSv9) and hence runs into the 2GB limit on Windows.
Jan Gustav Heber said:I have increased the Xmx size in the eclipse.ini file first to 1024 then to 2048 without getting rid of the error messages. When I try to increase the size to above 1024 in ccs.ini, ccs won't start at all.
There is a "sweet spot" in regards to the max heap size for CCS. 768m to 1024m seems to be it. Any greater and you could run into the issues described above. The best value requires some experimentation. Looks like 1024m is it in your case. Note that it is ccstudio.ini that must be modified, not eclipse.ini.
Certain features in CCS can use up a lot of memory. When you get these warnings, what does you CCS environment look like? Are you in a debug session? And if so, for which target? Do you have many views open? If a program is loaded, how large is the executable file you loaded? Did you use the Stack Usage view? Any additional information about your environment will be helpful.
You can also try using a new workspace folder in case you current one got corrupted. You can also try disabling the indexer.
Thanks
ki
Hi!
I tried to clean my workspace folder running ccs with the clean option without any luck. How do I reset the index for the file in question?
Best regards,
Jan
Thanks, the rebuild of the index did the trick. No more Java heap warnings!
Regards,
Jan