# heap\_1.c large code size in CodeWarrior proj

**URL:** <https://forums.freertos.org/t/heap-1-c-large-code-size-in-codewarrior-proj/3567>\
**Category:** Kernel\
**Created:** [September 22, 2008, 8:39pm UTC](https://forums.freertos.org/t/heap-1-c-large-code-size-in-codewarrior-proj/3567 "2008-09-22T20:39:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [September 22, 2008, 8:39pm UTC](https://forums.freertos.org/t/heap-1-c-large-code-size-in-codewarrior-proj/3567/1 "2008-09-22T20:39:03Z")

</div>

**[simfr](https://sourceforge.net/u/simfr/)** wrote on [Monday, September 22, 2008](https://sourceforge.net/p/freertos/discussion/382005/thread/a01623ac/#c7bc):

Hi,

I am using CodeWarriorIDE 5.9.0 for a port of FreeRTOS to the MPC5516 from Freescale.

CodeWarrior tells me that heap\_1.c has a code size of 124 Byte and a data size of 81948 Byte. As I would like to run my port in the SRAM which has a size of 64 kByte, I would like to know, if I did something wrong, which caused heap\_1.c has such a large data size?

Is it realistic to get FreeRTOS run in a 64 kByte SRAM? I only run three (test-)task. Every task toggles one LED after a specific time.&nbsp;

I am quite new in FreeRTOS. So in case, sorry for the trivial question.

Thanks and bye,

SimFr

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [September 23, 2008, 7:46am UTC](https://forums.freertos.org/t/heap-1-c-large-code-size-in-codewarrior-proj/3567/2 "2008-09-23T07:46:53Z")

</div>

**[davedoors](https://sourceforge.net/u/davedoors/)** wrote on [Tuesday, September 23, 2008](https://sourceforge.net/p/freertos/discussion/382005/thread/a01623ac/#c7bc/d5e4):

See here [http://www.freertos.org/a00111.html](http://www.freertos.org/a00111.html)
