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.

Cannot Update TI-RTOS for MSP43x

I have seen, that there are already several posts for this topic that concern exactly the same issue:

An error occurred while collecting items to be installed
session context was:(profile=epp.package.cpp, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
Problems downloading artifact: osgi.bundle,com.ti.rtsc.TIRTOSmsp430.productPlugin,2.14.3.28.
File has invalid content:C:\Users\klaus\AppData\Local\Temp\signatureFile4306887105604970381.jar
Out of memory: Cannot verify signed content.
Java heap space


I have tried, as described, to increase the heap space in the -Xmx512m statement to 768, 1024 and even 2048. But the error is always the same. Only the signatureFileXXXX.jar changes, when I change the space.

I am working on Windows 10 64-bit, using CCS 6.1.0.00104

  • Klaus Breining64693 said:
    I have tried, as described, to increase the heap space in the -Xmx512m statement to 768, 1024 and even 2048. But the error is always the same.

    Did you make sure to close and restart CCS after making this change, and then re-try the install? Please give that a try first, and if that still does not work, you can try the manual method of installing TI-RTOS as a workaround to help you get going quickly. That method is described in this post. Note that for TI-RTOS for MSP43x, the Location field should contain software-dl.ti.com/.../update

  • Yes, I tried several times to restart Eclipse. I have now set the heap-space to 1024 and it seems I have a pricipal problem: Even during normal work, I get every few minutes the message, that I am running out of  heap-space. This happens, since I have installed TI-RTOS. I have a lot installed, as I am working with Sitara, Stellaris, Tiva, MSP430 and now since some few weeks the CC3000 series. In the past I didn't have TI-RTOS installed, as I am not using it. Now for CC3000 it is used in the examples and I guess, I will also use it for my product.

    Do I have a problem having too much installed? Do I have to increase heap size even more? My machine has 8GB of RAM, running Windows 10 (which is also new; in the past it was Windows 7 - the updated happened at around the same time as the TI-RTOS installation!?). If this is a problem, is it possible to make different installations for the different CPU types?

    Regards

    Klaus

  • Klaus,

    It is unusual that you would be running into memory constraints. It should not be necessary to increase the heap size further and doing so may cause problems when debugging.  The Java heap and the native heap are managed separately. As this is a 32-bit process, there is only about 1.5GB of address space available to user code (Windows uses some of the upper address space). The debugger needs space from the native heap and could run out of memory if you increase the Java heap too much.

    It is possible some of the views you have open in the GUI are using more memory than expected. It would be wise to close any unused views in any of the perspectives you use. The RTOS configuration editor is known to use a fair bit of heap, so be sure to close those windows when not in use.  Starting with new workspace might also help as that would reset the window layout amount other things.

    There is no problem with having multiple CCS installations if necessary. However, the number of device support features installed should not impacting your memory usage by much so I think there may be something else going on.

    You can get an idea of your memory status by going the the Window -> Preferences -> General dialog and turning on the "show heap status" item. 

  • After some updates of different packages it is working again ... ?!