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.

Seems like CCSv5.1.1.00031 ignore config in eclipse.ini?

Other Parts Discussed in Thread: CCSTUDIO

Hi TI Support,

I earlier tonight decided to skip my CCS installation to make a complete new install, and I have thereofre just installed a CCSv5.1.1.00031 with MSP430, AM18xx and OMAP support. Part of the stuff I'm debugging is a rather large image, which is making the JVM run low on heap memory when reading in symbols.

I have previously fixed this (in my old now deleted install) by increasing -Xmx value in eclipse.ini, but doing this now doesn't seem to make any difference?

I therefore tried to monitor disk access with MS/SysInternal procmon.exe and from this it seems like nothing search for eclipse.ini when starting CCS, which I find rather strange?

Secondly I can see in CCS Help/About/Installation Details/Configuration/ that Xms and Xmx keeps saying:

-Xms40m
-Xmx384m

regarless of my settings in eclipse.ini...

Any good idea what I might be facing here and how to resolve it?

Best regards and thanks in advance
  Søren

  • I can add, that I just found, that the eclipse.ini file is used/honored if I run eclipse.exe, but apparently isn't if I run ccstudio.exe...

    Any drawback of running eclipse.exe instead of ccstudio.exe? The UI being brought up seem at a first view 100% identical?

    Does this help anyone in knowing what's going on?
      Søren

  • Hmm - Seems like it's getting too late here in EU. Found the answer, but it gave rise to another question...

    When running ccstudio.exe the config file being used is ccstudio.ini

    When running eclipse.exe the config file being used is eclipse.ini

    All 4 files located in the same directory :-)

    Do now I think the problem is solved, but does anyone know why we have two apparently identical set of files (eclipse and ccstudio)?

    Any good reason for this?

      Søren

  • Hmm. I am having the exact same problem. 

    Except that I went and changed:

    -startup
    plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
    -product
    com.ti.ccstudio.branding.product
    --launcher.XXMaxPermSize
    =512m
    -showsplash
    com.ti.ccstudio.branding
    --launcher.defaultAction
    openFile
    -vmargs
    -Dosgi.requiredJavaVersion=1.5
    -Xms512m
    -Xmx512m
    -XX:ErrorFile=C:\Users\dbelle\AppData\Local\.TI\213602635\0\dmp\hs_err_%p.log
    
    
    Now when I open ccsv5  it immediately crashes. 
    Any suggestions?
  • Hi Derek,

    I just tried your ini file here and it works for me, so I'm affraid I have no good ideas. Actually an immediately crashing CCSv5.1 was what caused me to reinstall as well. Earlier I had 5.1.0, and I then added some features (i.e. Blackhawk driver and AMxx support) by installing 5.1.1 on top of it, after which it crashed immediately starting up (although installer and web pages text claimed it to be possible :-( :-)

    I hope this info help you forward somehow?
      Søren

  • So it appears that both the eclipse.ini and the ccstudio.ini have to be the same?

    CCS is working well now. Here are the .ini files that are working quite well. 

    ccstudio.ini:

     -startup

    plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
    -product
    com.ti.ccstudio.branding.product
    --launcher.XXMaxPermSize
    512M
    -showsplash
    com.ti.ccstudio.branding
    --launcher.defaultAction
    openFile
    -vmargs
    -Dosgi.requiredJavaVersion=1.5
    -Xms1024m
    -Xmx1024m
    -XX:ErrorFile=C:\Users\SKUCHE~1\AppData\Local\.TI\213602635\0\dmp\hs_err_%p.log

    eclipse.ini:

    -startup
    plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
    --launcher.XXMaxPermSize
    512M
    --launcher.defaultAction
    openFile
    -vmargs
    -Dosgi.requiredJavaVersion=1.5
    -Xms1024m
    -Xmx1024m
     
    I am running 8gig ram and a i5. CCS is running much smoother. Also I am not sure if it is in my head but it appears that things compile much faster.

    Derek

  • Derek, Soren, 

    In 5.1.1 we added a CCS specific launcher (ccstudio.exe), which in essence is just a rebranded (different icon) eclipse.exe. The way the eclipse.exe launcher works is that it will look for "filename".ini file to get its options. Thus you could copy and rename eclipse.exe to another name and supply your own .ini file. We did this because we noticed that when eclipse is updated using stock eclipse update site, then it can overwrite configuration files that cause branding to revert to stock eclipse. Branding itself changing is maybe not a huge deal to most people, but it also causes TI perspectives to not be used by default. TI perspectives have been modified significantly to make CCS simpler.

    Martin

  • Hi Martin,

    Thanks for the explanation - Highly appreciated - Sorry for my slow response on this, but the mail slipped my radar at first, and I thought better late than never :-)
       Søren