Max crash with more than 2.5GB of movie data in 4GB ram
Hi all,
Recently we started experimenting with lots of movie data loaded into ram. At the moment I am trying to load 2.5 GB of movie data into 4 GB of ram.
Without movie data max uses 42,5 MB. Then I start loading movies into ram until max uses up to 2.42 GB. Everything is still fine, but as soon as I go over 2.44 GB (about 600 MB total free memory left), max stops loading and crashes when I try to open a dialog. This is reproducable.
I'll have to investigate this further (what happens with other objects and what happens with other applications) but I wondered if anyone else works with this amount of movie data in ram and experiences problems with it?
Mac OS 10.4.8, Max 4.6.2, Jitter 1.6.3b2, G5 quad 2.5 GHz ppc, 4 GB ram, btw in jitter 1.6.3b1, max stopped responding instead of crashing. If someone would like to see the crashreports, please let me know.
Mattijs
I use the patch below for testing together with the system memory tab of the Activity Monitor.
Mattijs,
> At the moment I am trying to load 2.5 GB of movie data
> into 4 GB of ram.
If [jit.qt.movie] is really based on QuickTime, I'm afraid that an old API limits the size to 2GB only.
(I got such problem with another environment for optical processing.)
Bigger, it would be necessary to load by chunks.
I hope I'm wrong on this!!! -:(
Could someone else comment on me?
Thanks,
Philippe
On Dec 29, 2006, at 9:10 AM, Mattijs Kneppers wrote:
> Recently we started experimenting with lots of movie data loaded
> into ram. At the moment I am trying to load 2.5 GB of movie data
> into 4 GB of ram.
Sorry, but this limitation won't leave until MaxMSP is a 64bit native
program (which isn't happening in the near future), what you *can* do
however is use some advanced RAM disk software to add your movies
into a RAM disk for similar usage. I've not used any personally, but
there are a variety out there.
-Joshua
Joshua and Philippe, thanks for your replies.
Although I'm sorry to hear this it's good to know the logical cause for the crash. It took me quite some time to allocate the crash, perhaps, if possible, it is a good idea to print a message in the max window when the 2gb limit is reached.
Best,
Mattijs
Quote: jkc wrote on Fri, 29 December 2006 19:11
----------------------------------------------------
> What you *can* do
> however is use some advanced RAM disk software to add your movies
> into a RAM disk for similar usage. I've not used any personally, but
> there are a variety out there.
>
> http://www.google.com/search?q=RAMdisk+software+OS+X+TIGER
>
> -Joshua
>
----------------------------------------------------
And of course thanks for the ramdisk suggestion, I'll try this :)
Mattijs
Thanks Joshua for explanation!
(I didn't remember the exact cause.)
Mattijs wrote
----------------------------------------------------
> it is a good idea to print a message in the max window when the
> 2gb limit is reached.
----------------------------------------------------
Or even before!
Depends if your data are stored on disk or if it's a continuous dataflow.
On disk, I'd put a routine to stop the load at, say 1.9.
Just in case.
Best,
Philippe