Thread: Avisynth+
View Single Post
Old 6th July 2016, 09:40   #1994  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
Some odd behaviour (XP64, 4GB RAM) using a script that should cause Avisynth throw an out of memory error:

Script:
Code:
setmemorymax(16000)
n = 12
colorbars(width = 1920 * n, height = 1080 * n, pixel_type = "rgb32").killaudio().assumefps(25, 1)
turnleft().pointresize(width() - 1920, height() - 1080)
turnright().pointresize(width() + 1920, height() + 1080)
Exception with r2022:
Code:
Exception 0xC0000005 [STATUS_ACCESS_VIOLATION]
Module:   D:\WINNT\system32\vcruntime140.dll
Address:  0x000000000207CA44
Exception with r1576:
Code:
GetFrameBuffer: Returned a VFB with a 0 data pointer!
size=1194393631, max=3196588032, used=3583180893
I think we have run out of memory folks!
This happens for both, x86 and x64.

r1576 throws what you would expect. I tried the same with the last of pinterf's builds - No exception thrown, Avisynth simply never returns from the first GetFrame() call.
__________________
Groucho's Avisynth Stuff

Last edited by Groucho2004; 6th July 2016 at 09:45.
Groucho2004 is offline