Thread: Avisynth+
View Single Post
Old 6th July 2016, 12:31   #1995  |  Link
pinterf
Registered User
 
Join Date: Jan 2014
Posts: 2,314
Quote:
Originally Posted by Groucho2004 View Post
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)
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.
The cause is possibly the resizer temporary buffer allocation failure that is not caught. I think "simply does not return" means: with 8G RAM, the first frame was OK, but even a turnleft took 1200 seconds.
More info later.

Last edited by pinterf; 6th July 2016 at 13:00.
pinterf is offline