• Hello MLAers! We've re-enabled auto-approval for accounts. If you are still waiting on account approval, please check this thread for more information.

Extension / Control Panel Memory Usage

Phipli

68040
Hey folks, are there any utilities that will tell me how much RAM different extensions etc are using? Somethings hogging resources and I'd be interested to approach finding it more directly than uninstalling groups of extenaions 😆
 
Would an extension / control panel ever use more RAM than its file size on disk?

Yup. Think about, for example, a tiny little extension that does something simple to every menu any application creates. It may not have much on disc, but it'd need to store information about every menu that every application created, which could be far more data than it had on disc. That memory goes in the same pool as other data owned by the OS, though, which is why it can be hard to work out what memory belongs to what...
 
I vaguely remember that Symbionts used to have a go at measuring it?

I was not familiar with this, thanks for mentioning. Looks interesting. I will try it …

But for OP’s purposes I am skeptical. It would be easy in principle to measure the memory allocated in the System Heap at INIT time, which is probably of interest, but doesn’t tell the whole story. Probably most INITs patch a trap, and if those patches allocate RAM, it would be a really hard thing, I think, to track each allocation back to the INIT that installed a particular patch.

@Phipli in other words it is possible there is no easy solution other than the old fashioned ‘90s thing of disabling chunks of extensions and seeing what helps…?
 
It would be easy in principle to measure the memory allocated in the System Heap at INIT time, which is probably of interest, but doesn’t tell the whole story

Yup, I'm pretty sure that's what symbionts does. Which is better than nothing but far from the whole story, as you say.
 
Back
Top