Log in

View Full Version : Memory consumption?


Malevolent
3rd February 2004, 04:16
Forgive me if i'm out of line here,
but i was wondering...

Up to Koepi 24062003 and my crappy system all was fine.

1GB Athlon @ 1.34
384 RAM (pathetic 100 MHz SDRAM)
WinXP Pro SP1
And around 280MB Free RAM when encoding starts.
My standard script (heavy VHS denoise - ask and ye shall recieve) &
around 100MB of RAM remained free.

With new XviD builds RAM seems to be an issue?

Same system.
Same script.
Same clip.
Same amount of free RAM before encoding.
Not the same amount of free RAM after encoding starts.

Drains it straight to 0MB, then halts the comp, waiting for approx.
additional 50MB to drain from other apps.

All Betas had done this, so the question is:

Supposed to do so or not?

Chroma optimizer: yes
ME 6
VHQ 3
I-Frame interval 240
Quants capped @ 2-31

Max Consecutive B-frames: 100
Quant ratio 150
Quant offset 100
B-Frame sensitivity 0

If i didn't mention it, it wasn't enabled.


Only difference is with overflowcontrol,
and i tried to set them to the same (10,10,20), to no avail.



Final note:

This is not a bug report or a rant.
I'm just curious if this is normal or not.
If not, a detailed bugreport may follow.

sysKin
3rd February 2004, 05:41
Originally posted by Malevolent
Max Consecutive B-frames: 100Yupp, definitely. Encoder allocates all the memory it's going to need when encoding starts, and - in this case - this includes a memory for a 102-picture queue. As you might guess, it's a lot :).

Radek

Malevolent
3rd February 2004, 05:59
That simple? Oh my god. I feel genuinuly stupid.

Mind you though, that this didn't happen with the pre-1.0-beta-builds,
so would you mind telling me whether this "feature" did not work in those builds,
or was not present - allthough you could set it so?

mikeX
3rd February 2004, 13:47
this new 'feature' slows down my encodings (and my system) tremendously when running other tasks at the same time cause it has to swap/unswap memory constantly

it can go from ~13fps when idle to ~1-3 fps when busy

-- edit

things seem to go a lot smoother under Linux with transcode (steady ~10 fps, system slower but ok really)... hhhmmmmmm, i also notice much less swap memory being used (1/3 of what was used under windows) - this seems weird

communist
5th February 2004, 23:54
100 bframes... :eek: and you complain about speeed?!