Log in

View Full Version : x264 memory leak


PhrostByte
5th April 2008, 09:31
So I got a new system, and suddenly x264 is leaking like crazy.

I went from an Athlon64 w/ 2GB RAM to a Core 2 Quad w/ 8GB RAM, both on 64-bit Vista. It seems to happen regardless of input, settings, and how many threads I tell it to use (using megui), so I'm inclined to think it isn't handling 8GB of RAM correctly.

It's a 32-bit process so it grows steadily toward 2GB and freezes at around 1.9GB.

Has anyone else come across this? I'm using x264 r807.

burfadel
5th April 2008, 09:46
I got 4gb of meory on a core 2, vista 64 bit no problems. Try taking out 4gb and see if it still happens :)

Manao
5th April 2008, 10:09
IIRC, avisynth allocates 1/4th to one half of the available memory. Try using setmemorymax(64) in your avs script.

PhrostByte
5th April 2008, 11:36
IIRC, avisynth allocates 1/4th to one half of the available memory. Try using setmemorymax(64) in your avs script.

hah, that was it. thanks!