Re: y4mdenoise version 4 beta 1 is checked in!

Steven Boswell II <[email protected]> Sun, 5 Sep 2010 10:24:15 -0700 (PDT)
Newsgroups gmane.comp.video.mjpeg.devel
Message-ID <[email protected]>
--- On Sat, 9/4/10, Bernhard Praschinger <[email protected]> wrote:
> I did test y4mdenoise with a Full Resolution PAL video. For
> some reason y4mdenoise crashes every time after denoising up
> to 63 frames. The process uses than about 1GB of ram (Is
> that normal ? I have 4GB of Ram)

Yikes!  No, that's definitely not normal.  About the only reason y4mdenoise would fail is if it ran out of memory, and it's supposed to purge most of its structures regularly.

I've got a DVD-sized y4mdenoise process running right now, and it seems to be maxing out at 300 MB of memory.

What are the exact parameters you're passing to y4mdenoise?  In particular, what are you passing for "-f"?  That's the only parameter that could be making it use more memory.

As a stupid test, you could look for the word "Purge" (case sensitive) in newdenoise.cc and comment out the "if (frame % denoiser.frames == 0)" above it, to make sure it purges every frame.

Otherwise, I'm not sure what else to check...except maybe you could make a build with assertions (i.e. remove "-DNDEBUG" from y4mdenoise/Makefile.*) and see if it finds something odd.

Steven Boswell



      

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd