Re: Memory allocation of applets?
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