# TCP/IP STACK

**URL:** <https://forums.digi.com/t/tcp-ip-stack/5323>\
**Category:** NET+OS\
**Created:** [July 25, 2006, 12:47pm UTC](https://forums.digi.com/t/tcp-ip-stack/5323 "2006-07-25T12:47:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tomy](https://avatars.discourse-cdn.com/v4/letter/t/9dc877/32.png) [@tomy](https://forums.digi.com/u/tomy)\
**Post date:** [July 25, 2006, 12:47pm UTC](https://forums.digi.com/t/tcp-ip-stack/5323/1 "2006-07-25T12:47:48Z")

</div>

what is the use of APP\_NET\_HEAP\_SIZE defined in appconf.h ?.Is there any performance improvement if we increase this heap size ? and also where it is used in bsp?..

---

<div class="post-metadata">

**Author:** ![Cameron](https://avatars.discourse-cdn.com/v4/letter/c/e79b87/32.png) [@Cameron](https://forums.digi.com/u/Cameron)\
**Post date:** [July 25, 2006, 12:54pm UTC](https://forums.digi.com/t/tcp-ip-stack/5323/2 "2006-07-25T12:54:23Z")

</div>

APP\_NET\_HEAP\_SIZE specifies the size of the heap allocated for the TCP/IP stack. The minimum value for this variable is typically 512k. I have worked with customers who had to set this value as high as 1.5M.

If your application makes heavy use of TCP, be it simple sockets or HTTP, increasing the network heap can make a tremendous performance difference.

Cameron

---

<div class="post-metadata">

**Author:** ![tomy](https://avatars.discourse-cdn.com/v4/letter/t/9dc877/32.png) [@tomy](https://forums.digi.com/u/tomy)\
**Post date:** [July 26, 2006, 1:43pm UTC](https://forums.digi.com/t/tcp-ip-stack/5323/3 "2006-07-26T13:43:33Z")

</div>

we have changed APP\_NET\_HEAP\_SIZE in appconf.h to 0x120000 but there is no change in our application performance and I repeat my question “Where this size being used in BSP or application”
