[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: LSIZ question...

>Hi Bill,
>How bout the Heap size percentage? as thats the gizmo I hacked from 5 to 
>10 and got quite a bit of xtra space (checking using #_FreeMem)...
>you know how the percent thing works or should it be left alone...

SIZE = Partition size (set in the Finder's "Get Info" dialog).
       Possibly less than this due to stack allocation.
MIN = "Mac Heap minimum size"
MAX = "Mac Heap maximum size"
P = "Mac Heap percentage"
HEAP = Size of Mac heap.

(setq HEAP (floor (max MIN (min MAX (* P 0.01 SIZE))))