• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Memory allocation of applets?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Memory allocation of applets?


  • Subject: Re: Memory allocation of applets?
  • From: Daniel Blanken <email@hidden>
  • Date: Fri, 02 Nov 2001 22:29:57 +0100

> What controls the size of memory allocation that gets set when I save a script
> as an application in Smile?
>
> Currently, my apps always get 2 MB as "Preferred size", and 200 kB as
> "Suggested". I think I have tweaked this some time in history, but can't
> remember where.

Hmm.. I don't know how to tweak the default values in Smile, but if you want
to change the memory allocation to an AppleScript applet manually, just open
the script file in ResEdit and edit the SIZE resource.
When opening the resource, scroll down to the two fields "Size" and "Min
size". You can alter the values for the preferred (Size) and minimal (Min
Size) allocations. The numbers are the memory allocation in Bytes. Remember,
that 1KB is 1024 Bytes and not just 1000. So, if you set "Size" to 2048000
it would equal an allocation of 2000 KB (2000*1024)

Greetings!
danB

--
danB
E-Mail: email@hidden
Website: http://www.advancedscripting.de


  • Prev by Date: Re: Passing variable from AppleScript to Terminal
  • Next by Date: Newly bust in OSX: ":" as alias
  • Previous by thread: Re: Memory allocation of applets?
  • Next by thread: implementing unix strftime as an AS library - seeking advice
  • Index(es):
    • Date
    • Thread