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.

Tweaking ccstudio.ini for 6.1.1

Other Parts Discussed in Thread: CCSTUDIO

Hello!

Working with previous versions of CCS I have faced JVM heap issues same to many people here. Similarly, I was fixing that by increasing -Xmx parameter in ccstudio.ini file. With recent update to  6.1.1.00022 that no longer works. I cannot set any value larger, than 602m (yes, tried binary search). For larger values I receive error about JVM creation failure. Interesting to note, that in eclipse.ini I can set even 1024m and run eclipse.exe without any problems. Is there anything to check about that?

My machine is Win7 x64 SP1, 16GB of RAM, at the time of test more than 10GB still free, commit charge is 6/31 GB.

  • Hello,
    That is odd that you cannot set the Xmx value higher than 602m. The default value (for 6.1.1) is actually 768m to begin with and I just increased it to 1024m and that worked fine also. My machine is also Win7-64 but I have less RAM than you (only 8 GB RAM).

    Can you provide the exact error message? A screenshot or generated log (if one is generated) would be good.

    Note that eclipse.ini is not used when launching CCS via default method. Hence any changes made to eclipse.ini will not be picked up, onlt ccstudio.ini.

    Thanks
    ki
  • Hello!

    I have noticed that 6.1.1 was installed with 768m. In my case the CCS did not start after installation with the error about JVM creation failure. But just because I played with heap parameter before, I knew potential reason of the error, so I have reduced that parameter and was able to start. Before installing 6.1.1 I have uninstalled previous version and wiped out ccsv6 folder, though products folders like bios, pdk, mcsdk and so on remain, so I believe I've made a clean install from offline image.

    I know, that eclipse.ini is not used by CCS. I have tried that in attempt to figure out, is that Eclipse general issue, or something CCS related. Perhaps that might give you some idea.

    Please see the screenshot of error message. I understand it tells too little. I am willing to provide more information upon instructions what and where to see.

    Thanks in advance.

  • I've just noticed, that other contributor cannot set 1024m in e2e.ti.com/.../456967, though that works fine in your environment. It would be beneficial for community if we trace down the root cause. Again, I am willing to provide more info on request.
  • Hello!

    I just want to ask one more time, is there a hope to get support on the issue.

    Thanks in advance.

  • Well, it seems I found the reason.

    Hanging around Eclipse forums I found a recommendation to explicitly specify the path to Java. So I have added

    -vm 
    C:\TI\ccsv6\eclipse\jre\bin\javaw.exe
    

    right before -vmargs line. That did the trick for me. Now I can set larger heap, even 1024m is fine now. So it looks like ccstudio binary was picking some other Java VM, as I have another installation under Program Files.