Monitoring MaxMSP's real use (ram / cpu)

Jun 4, 2011 at 10:51am

Monitoring MaxMSP's real use (ram / cpu)

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 ….

Jun 4, 2011 at 2:38pm

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.

Jun 5, 2011 at 11:33am

Hahahaa the shell :/

Oh i won’t sleep very much

thank you

Jun 5, 2011 at 10:34pm

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%.


You must be logged in to reply to this topic.