put url some url into someVar: nasty crash :(

Scott Rossi scott at tactilemedia.com
Sun Sep 25 16:20:38 EDT 2005


Recently, david bovill  wrote:

> My script keeps crashing Rev... and I think it is a simple as this line:
> 
>     put url ("file:" & someFile) into someData
> 
> But if the file is big enough - in my case a 900MB video file (or
> anything larger) - instant crash. No graceful wait for virtual memory
> to kick in :( This is OSX with 1GB memory - not OS9! Can this be right?
> 
> Can't think of any other way of doing what i need - using the md5Hash
> function to uniquely identify the video files and associated text
> files. Is this a problem on Linux and Windows?

Maybe try using "binfile:" (binary file) for the videos.  "file" is the text
mode, usually used for text files.

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-----
E: scott at tactilemedia.com
W: http://www.tactilemedia.com




More information about the use-livecode mailing list