Max Memory usage?

in Gen3 hardware running DeviceOS 4.0.2, what is the maximum memory we can use for our firmware without causing trouble to the DeviceOS itself?
Can we go up to (for example) 99% without any impact?
Should we stay below (again, for example) 85% for any reason?

As reported in the cloud console:


I don’t know of an actual number. On the Photon/P1, the biggest problem was SoftAP mode, which allocated a large block of memory on the heap, which was a problem not only with free memory but also fragmentation. However, since there is no SoftAP on the Argon, that’s not an issue.

Device OS on Gen 3 does allocate memory on the (shared) heap, but generally not in very large blocks that would be problematic.

1 Like