Menumeters & loadram

Maarten's icon

Hi all,

I've been working for a while with the loadram messages to relief and preserve my HD, great function.

But now I'm optimizing and checking memory usage and such. But the strangest thing happens. I don't see the memory being used up. Per movie of about 100MB i get a 2 mb increase in usage of my memory.

Do I misinterpret the usage of loadram or is something else the case here?

Thnx,

M

Thijs Koerselman's icon

Hi Maarten,

are you using asyncread or preroll ?

"Note: use of asyncread and preroll unloads any sections of the current
movie loaded into RAM using the loadram method."

grt T_

Maarten's icon

I'm using normal load, with a

read
|
qt.movie
|
route read
|
iter
|
sel 1
|
loadram
|

Build that when the function became available.
He doesn't call the HD when I play the movie, but he doesn't seem to use the ram either.

On apple (quad or powerbook g4)

Maarten's icon

So is it an error that loadram doesn't officially uses up the ram or do you think it is a flaw in menumeters?

Jeremy's icon

Just testing this, loadram appears to be working fine on my machine.
I don't know what menumeters is, what os it runs on, and so on. On my
OSX 10.4.4 machine, running "top" using loadram on a 100MB Mpeg-4
movie increases system ram usage by a little more than 100MB. You
haven't offered any info as to what kind of media you're using, so
it's hard to give you better information.

jb

Maarten's icon

Owh I'm sorry. In my mac user environment everyone uses menumeters.

Menumeters is a program which resides in the menubar, just like
Activity monitor, but it is a bit more aesthetic and more easy to
access. I can monitor my CPU percentage, free and used memory and up
and download KB/s, also the write and read messages of my HD.

I work on OSx 10.4.4 (Powerbook G4)
And a Guad G5, also 10.4.4

When I loadram a qt movie, my menumeters used memory increases by only
2 mb where the movie is 100mb. I also know loadram works fine because
during the playing of my movies my HD doesn't read continuously (or
not at all). I was just wondering what the difference was in storing
the movies to memory because my used memory doesn't increase.

This seems to be a problem with menumeters, because I just tested it
again and now it does work on my powerbook but not an my quad.

menumeters is opensource and can be downloaded here
http://www.ragingmenace.com/software/menumeters/