put url some url into someVar: nasty crash :(
alex at tweedly.net
Sun Sep 25 15:26:36 CDT 2005
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?
It seems to me that, even if possible, it would be undesirable to read a
900Mb file into a variable just to get the md5 hash.
On Linux you can use the "md5sum" utility, on OSX the "md5" command
(reputedly, haven't checked, may require XCode or some such package to
be installed). On Win you may need to build your own utility - but there
are many very simple, single file sources available, with no library
dependencies, so you could build and distribute your own executable for
(Or you could download the Microsoft utility to do this - fciv - from
Alex Tweedly http://www.tweedly.net
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.11.6/111 - Release Date: 23/09/2005
More information about the use-livecode