Thread: Avisynth+
View Single Post
Old 6th July 2016, 12:59   #1997  |  Link
pinterf
Registered User
 
Join Date: Jan 2014
Posts: 2,314
Quote:
Originally Posted by Groucho2004 View Post
Thanks for looking into this.
I should have mentioned that I used AVSMeter to test this which reports the module in which an exception occurs. Then again, you probably knew that.
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.

The 1200sec/frame was because of the OS memory swapping.

*This may be suboptimal to work with a new_horizontal*original_horizontal sized temporary frame, maybe it is needed for the horizontal resizer, because it works as turn+resize+turnback. Have to check it.
pinterf is offline