Re: Akua Sweets "the image from" memory leak?
Re: Akua Sweets "the image from" memory leak?
- Subject: Re: Akua Sweets "the image from" memory leak?
- From: Chris Stone <email@hidden>
- Date: Wed, 22 Nov 2000 17:12:17 -0800
Use:
dispose proxy data myImage
to flush the data from memory. That works for me...
--Chris
At 6:30 PM -0600 11/22/00, David Blache wrote:
Hi folks,
The following script, saved as an application, will leak memory until the
entire heap is full. I can't figure out a way to get Akua Sweets to dispose
of the image in the application heap.
Is this my fault, or Akua Sweets???
-- start script
-- save as stay-open classic applet
property myFile : ""
property myImage : ""
on run
set myFile to choose file
end run
on idle
-- set myImage to the image from myFile
set myImage to a reference to the image from myFile
set myImage to nothing
return 1
end idle
on quit
set myImage to nothing
continue quit
end quit
-- end script
Any suggestions?
-David
_______________________________________________
applescript-users mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/applescript-users
--
Chris Stone
Macintosh Systems Administrator
O'Reilly & Associates
www.oreilly.com
(707) 829-0515 x382