# Memory profiling

**URL:** <https://community.particle.io/t/memory-profiling/31817>\
**Category:** Firmware\
**Created:** [April 18, 2017, 12:28pm UTC](https://community.particle.io/t/memory-profiling/31817 "2017-04-18T12:28:22Z")\
**Posts on this page:** 1\
**Showing post:** 28

<div class="post-metadata">

**Author:** ![jenschr](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/jenschr/32/4792_2.png) [@jenschr](https://community.particle.io/u/jenschr)\
**Post date:** [August 23, 2017, 1:01pm UTC](https://community.particle.io/t/memory-profiling/31817/28 "2017-08-23T13:01:35Z")

</div>

That's brilliant! Looking at other threads, it's very confusing how much memory you ACTUALLY have (since some of these threads go back to the CORE). There is however an official link that [points to the memory output from the Web IDE](https://docs.particle.io/guide/getting-started/build/photon/#checking-code-memory-usage) and this claims that the Photon has:

> 110592 bytes for program  
> 20480 bytes for RAM

In my case it should mean that since I get this output from compile:

> text data bss dec hex filename  
> 107468 2124 12484 122076 1dcdc /workspace/target/workspace.elf

The text & data columns adds up to the amount of Flash used (out of 110592 available):  
`107468 + 2124 = 109592 (99% Flash used)`

The data + bss columns adds up to the amount of RAM used (out of 20480 available):  
` 2124 + 12484 = 14608 (71% RAM used)`

That would explain some interesting behavior in my app this week? 😊  
Time to start using that extra 1Mb of storage in the P1 modules!

---

_[View the full topic](https://community.particle.io/t/memory-profiling/31817)._
