For the time being the problem with Web IDE is, that the relative numbers are still refering to the Particle Core which only had about 20KB of SRAM, but the Photon has got 128KB of which some is used for the system and leaves you about 60K to start with.
The figure you get from System.freeMemory() should give you a “good” idea how much you have free at least, but the number can change while your program is running due to dynamic RAM allocation (e.g. by use of String objects or explicit malloc() or such).
Again you are the man with answers - MANY thanks ;-)).
Yes I already use freeMemory - in fact I set this up as a variable (during development) so that I can keep an eye on it…
Suggestion for Particle - can the Dev and/or CLI environments be set up to show this automatically after a compile ???. I regularly used Forth compilers back in the 1980’s which clearly told me how much RAM and EEPROM (yes I do pre-date FLASH by that many years!! and it was WAY more critical back then) was used and how much left free = seemples
Of course this will then get more complex when we need to know how much stack is allocated (per thread or task - as per freeRTOS), and how much HEAP has been allocated/is available etc.
AFAIK the CLI does give you the TEXT/DATA/BSS output by default (roughly 55K - (DATA + BSS) should give you something near the initial reading of System.freeMemory() on a Photon).
And for Dev it’s on the ToDo list.