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.

CCS V3.3 memory of program

Hi, I would like to know how could I see the amount of memory of program I am using in my code.

Have some tool in CCS V3.3 to see this?

Thank you.

  • You can view how much memory you are using with the -m option for the linker (project -> build options -> linker tab -> Map Filename (-m) field), this causes it to output a .map file which is just a plain ascii text file that you can read with any text editor that shows various information about your memory map including locations and how much is used.

    Note that this is only static allocation, your dynamic allocation (malloc) and stack usage are not shown here. If you are using DSP/BIOS than you can use the kernel object view (under the DSP/BIOS drop down menu of CCS) to collect information on dynamic memory usage while your application is running.