RE: Out of memory
RE: Out of memory
- Subject: RE: Out of memory
- From: "Bourque, Jason" <email@hidden>
- Date: Tue, 2 Jan 2001 16:04:05 -0500
read below
Jason Bourque
MFS Investment Management
>
----------
>
From: Cal
>
Reply To: Third Intensive
>
Sent: Saturday, December 9, 2000 12:30 AM
>
To: Third Intensive
>
Subject: [AS-Int3] Increasing memory on folder actions [was: election
>
results!]
>
>
(Please change the subject line when appropriate; I almost didn't
>
look at this because of the subject line.)
>
>
Sorry, Rich, but Hugh originally said it was folder action script,
>
not an application or a script run in an editor.
>
>
Hugh, I deal with this as follows:
>
>
1. Duplicate the Folder Actions extension in the Extension folder.
>
2. Open up the copy in ResEdit or Resourcerer.
>
3. Open the SIZE resource and locate the memory allocations (the last
>
items in the SIZE resource).
>
4. Double, triple, or quadruple the memory allocations.
>
5. Save the changes to the file in ResEdit or Resourcerer.
>
6. Quit ResEdit or Resourcerer.
>
7. Trash the original (unmodified) Folder Actions extension.
>
8. Rename the copy "Folder Actions".
>
9. Restart your computer.
>
>
Note that you can't edit the currently active Folder Actions
>
extension. Also note that you can't empty the trash until you've
>
done all these steps because the original (unmodified) Folder Actions
>
extension is in use until you reboot.
>
>
I have to go through this crap every time I set up to demo at a trade
>
show.
>
>
Cal
>
>
>It looks like the error message said that the Folder Actions
>
>extension has run out of memory, though it was not easy to read in
>
>the screen shot. The Folder Actions extension is of type "appe", not
>
>"APPL", so you need to resort to some foolin around to get it
>
>increased. You could use any of a host of tools to change it to type
>
>APPL (work on a copy of the file) and then boost the memory
>
>allocation and change it back to "appe" and reboot. That may help
>
>you, but I'm not 100% sure. I've done that before with things of a
>
>similar nature and it worked. You can't hurt anything, so it's worth
>
>a try.
>
>
>
>- web
>
>
>
>>if you have saved it as an app, you can give it more memory via the get
>
info
>
>>dialog, if you are running it from the one of the ides thens give that
>
app
>
>>more mem
>
>>
>
>>-- hcir
>
>>mailto:email@hidden
>
>>
>
>>> Attached is an error message from a folder action script I wrote.
>
>>>
>
>>> Question: It appears that my script is running out of memory. Does
>
anyone
>
>>> know how to allocate more memory to a script?
>
>
>
>
Jason Bourque
MFS Investment Management
>
----------
>
From: MB
>
Sent: Tuesday, November 2, 1999 3:47 PM
>
To: email@hidden
>
Subject: Out of memory
>
>
Dear list,
>
>
Could somebody explain me why I got next message right after my script
>
finishes "The folder action extension has run out of memory during the
>
execution of an script". I got the same script as a drop application and
>
it's working just fine w/o any troubles.
>
Finder got 38 Mb of free memory. Any ideas?
>
>
Ah, almost forgot:
>
System MacOs 8.6 on Power Center Pro 210.
>
AppleScript B1-1.3.4
>
>
Thank you
>
Mikhail Berkovsky
>
PPI
>
_______________________________________________
>
applescript-users mailing list
>
email@hidden
>
http://www.lists.apple.com/mailman/listinfo/applescript-users