Forums > MaxMSP

Monitoring MaxMSP's real use (ram / cpu)


tep
June 4, 2011 | 10:51 am

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


June 4, 2011 | 2:38 pm

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.



tep
June 5, 2011 | 11:33 am

Hahahaa the shell :/

Oh i won’t sleep very much

thank you


June 5, 2011 | 10:34 pm

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


Viewing 4 posts - 1 through 4 (of 4 total)