Re: osacompile
Re: osacompile
- Subject: Re: osacompile
- From: Christopher Nebel <email@hidden>
- Date: Mon, 16 Jun 2008 13:59:51 -0700
On Jun 13, 2008, at 11:49 AM, Joshua Whalen wrote:
I have been have some problems with osacompile failing to compile a
script. The length of the script is variable (it's generated on the
fly from another program), and the problem seems to occur when the
list is larger than usual (in the neighborhood of 650mb in size),
which is certainly a bigger script than most.
Now, the obvious is "break it into smaller scripts!" but for various
reasons, that's undesirable. I'm wondering if anyone knows what the
capacity of osacompile is? Would tweaking niceness settings have an
impact?
Do I understand correctly that you generated a script whose source
text is 650 megabytes in size? I suspect you'll run out of address
space in 32-bit trying to compile that, and depending on the content
of the script, you might hit some implementation limits of AppleScript.
650 MB seems, shall we say, excessive for source text. What's forming
all that text? If it's just data, might it be possible to store it
outside the script itself? Is AppleScript actually an appropriate
choice for what you're trying to do?
--Chris Nebel
AppleScript Engineering
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden
References: | |
| >osacompile (From: Joshua Whalen <email@hidden>) |