Thread: Avisynth+
View Single Post
Old 6th July 2016, 13:05   #1998  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
Quote:
Originally Posted by pinterf View Post
The basic frame is 1.2Gbytes (23040x12960 rgb32)
When the horizontal resizer works, it creates a *21120 x 23040 sized (1.9GByte) videoframe, plus two temporary buffers, one 1.1Gbyte and a 1.9GByte one.

No wonder that with 4/8GB physical RAM is not enough (and this is the real limit, not the declared 160000MB you set in SetMemoryMax, it is overridden). 1.1GB for the Colorbars source frame, another 3-4x frame size during the resize process.
I'm aware of how much memory these frame sizes need (more or less).
I'm not sure if you realize that the point of that script is simply to force Avisynth to run out of memory and see how it behaves.

So, the only question is why the new version behaves differently.
__________________
Groucho's Avisynth Stuff
Groucho2004 is offline