Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Out of memory??



On 4/12/06 11:30 AM, Christopher Nebel <email@hidden> wrote:

> The other possibility (rather less likely, but plausible) is that
> you're running out of garbage-collected heap memory, which is where
> your script and all its "live" data while it's executing goes.
> "Running out", in this case, is an artificial construct -- there's a
> fixed maximum that you're not allowed to exceed.  By default, this is
> 32MB; you can change it by adding an 'scsz' resource to the
> application running the script.  (Instructions available on request.)

Chris:

I have an AppleScript stay-open applet that intermittently displays an error
message on quitting that states "Could not save changes" because "the
required resources were not found."  The message is accompanied by an error
number of -192, which I understand is the error for a resource not found.

The applet has a repeat loop that loads a large number of script files (>
100) during the run and puts their content into variables.  Could this heap
memory limit be the problem?  If that is a possibility, I would like the
instructions.  If not, do you have any ideas what else might be causing this
error message?

-Jeffrey Berman

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.