I'm currently looking at PD-Extended 0.41.4 not being able to handle playing back 1920 x 1080 video files. My patch is hyper-simple.... just loading two layers of 1920 x 1080 HD video files... switching videos in and out as they play using a shell command. unfortunately this process needs to continue stably for longer than a few hours (which is all I've got right now).... When I let things run, PD crashes and I get the following error in Console.

8/25/09 1:38:48 PM [0x0-0x18018].org.puredata.pd.wish[271] pd(272,0xa03ce720) malloc: *** mmap(size=4149248) failed (error code=12)
8/25/09 1:38:48 PM [0x0-0x18018].org.puredata.pd.wish[271] *** error: can't allocate region
8/25/09 1:38:48 PM [0x0-0x18018].org.puredata.pd.wish[271] *** set a breakpoint in malloc_error_break to debug
8/25/09 1:38:48 PM [0x0-0x18018].org.puredata.pd.wish[271] terminate called after throwing an instance of 'std::bad_alloc'

Any ideas? Thoughts? I'm not currently on the computer with the patch, but I can post sample content that is causing this crash later.... This is happening on a quad core Intel-Xeon Mac with 4 GB of memory.

Memory allocation and Malloc is an area where I'm less than confident and would great appreciate some insight into why this is going on.... or may be going on.