I wonder how does MaxMSP really manage the memory and cpu.
I would like to be able to monitor MaxMSP’s actual cpu use, not (only) the DSP one … Is there a way of doing such a thing without a 3rd party software ? And for the memory use ?
As i suppose the performances of Max emptying / fulling the computer’s memory is somehow related to the computer’s gear, i’d like to monitor it in my patch in order to make "statistics" instead of the tedious way of watching my activity monitor and manually write down the values evolving in time ….
if you are on mac, you could use the shell external and send it the "top" command.
(try it out in the terminal before, to see, what it all gives).
with a bit of parsing you can extract memory usage and all kind of other statistics.
Slightly on a different note, does anybody have suggestions for improving the performance of a patch? I have something fairly complex but it’s not doing any audio, mostly MIDI and OSC. I am seeing RAM usage up to 650MB and CPU at 20-30%.