• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Need help with "out of memory Errors" on server script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Problem with 'run script'
      • From: Peter Watling <email@hidden>
References: 
 >Need help with "out of memory Errors" on server script (From: "John R. Head" <email@hidden>)
 >Re: Need help with "out of memory Errors" on server script (From: Steven Angier <email@hidden>)

  • Prev by Date: -5000 error
  • Next by Date: Re: -5000 error
  • Previous by thread: Re: Need help with "out of memory Errors" on server script
  • Next by thread: Problem with 'run script'
  • Index(es):
    • Date
    • Thread