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??



Well, I had simmilar problems.
I never figured out what the reason was.

On OS 9 I got the out of memory message with some scripts latger than 5000 lines of code.
After moving the scripts to OS X the same message appeared at about 6000 lines.


Usually those scripts run successfully in the Script Debugger but failed when saved as an application.

Now I divide my larger scripts in several libraries and load those libraries from the main script.

This works for me, but I really would like to know where the barriers are!

Peter


Am 06.04.2006 um 01:58 schrieb Stockly, Ed:

 Hi,

I've got a script (developed with help from this list) that exports tagged items from an inDesign document to an XML file. It then filters characters in the xml file and tidies up a few odds and ends and saves the xml for import into a main frame.

The script has been running just fine for weeks, but has developed a problem. On the user's mac it's generating an "out of memory" error.

It runs fine on my mac and other macs in my office, but generates this error on the user's mac and another mac in her office.

It generates the error only if run as a droplet. If I install the script in the inDesign script palette and run it from there, it works.

The error seems to occur outside of any application tell block. (The error is trapped in a try block and "out of memory" is the error's text value).

Now I know this is sketchy information and there's a lot more I need to do to narrow it down (installing Script Debugger on the user's mac would be a good place to start) but it's the "out of memory" error that's got me puzzled. I haven't seen this error in Mac OS 10, and thought they were a thing of the past.

Has anyone else encountered an "out of memory" error?

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


This email sent to email@hidden


Grüße aus Berlin

Peter Waibel


-------------------------------- Opix AG Peter Waiibel Am Borsigturm 46 13357 Berlin

Fon: +49 30 4303 4421
Fax: +49 30 4303 4409

email@hidden

email@hidden
email@hidden
http://www.opix.de
--------------------------------



_______________________________________________
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
References: 
 >Out of memory?? (From: "Stockly, Ed" <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.