# malloc function

**URL:** <https://forums.digi.com/t/malloc-function/5539>\
**Category:** NET+OS\
**Created:** [February 13, 2003, 3:18pm UTC](https://forums.digi.com/t/malloc-function/5539 "2003-02-13T15:18:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/digi/original/1X/11da31a6a1fbcd03ef21d3f785c317c824009ae2.png) [@system](https://forums.digi.com/u/system)\
**Post date:** [February 13, 2003, 3:18pm UTC](https://forums.digi.com/t/malloc-function/5539/1 "2003-02-13T15:18:28Z")

</div>

I’m using GNU for NET+50 development board. I have questions regarding malloc function usage: 1. Where are defined dynamic memory start address (i.e. memory portion used by malloc), and it size. 2. I can’t find this, but this issue should be somewhere in the documentation. Where ?

---

<div class="post-metadata">

**Author:** ![marcelobarrosalmeida](https://avatars.discourse-cdn.com/v4/letter/m/ad7895/32.png) [@marcelobarrosalmeida](https://forums.digi.com/u/marcelobarrosalmeida)\
**Post date:** [February 20, 2003, 7:44pm UTC](https://forums.digi.com/t/malloc-function/5539/2 "2003-02-20T19:44:57Z")

</div>

I am not using GNU compiler but instead a GHS compiler. For GHS, malloc starts to use memory from the heap section (defined in linker file) and this point can be changed in file ind\_heap.c
