Re: Need help with "out of memory Errors" on server script
Re: Need help with "out of memory Errors" on server script
- Subject: Re: Need help with "out of memory Errors" on server script
- From: Steven Angier <email@hidden>
- Date: Tue, 18 Sep 2001 10:48:50 +1000
- Organization: Macscript.com
I forgot to include the code from my test:
--
property gIdleCount : 0
property gTime : {}
on run
set gIdleCount to 0
set gTime to current date
end run
on quit
try
set gTime to (current date) - gTime
display dialog "Cycles: " & gIdleCount & return & "Elapsed time: " &
gTime
end try
continue quit
end quit
on idle
--increment counter
set gIdleCount to gIdleCount + 1
repeat 10000 times
try
error "" number -1728 from "" to {} partial result {}
on error e number n from f to t partial result p
--nothing
end try
end repeat
return 1
end idle
--
Steven Angier
Macscript.com