Re: [MacPerl-Porters] Shuck 1.50

[email protected] (Thomas Wegner)
Newsgroups perl.macperl.porters
Message-ID <p04320400b7d1fc69d636@[149.225.17.25]>
At 1:12 Uhr +0200 22.09.2001, Bart Lateur wrote:
>On Fri, 21 Sep 2001 18:02:20 +0200, Thomas Wegner wrote:
>
>>I've increased Shuck's minimum and default memory size, to avoid
>>crashes due to low memory situations. With the old settings, Shuck's
>>memory problems already begin at about 5 open windows; the new settings
>>allow for at least 20 open windows, which seems to be a more reasonable
>>number.
>
>I find your idea of "a reasonable number of open windows" a bit strange.
>If I have 20 windows open at the same time, it is *high time* to close
>most of them, because all I see is a clutter.

Yep, agreed. But that was a stress test, not a real world situation. After all, it depends on the pod's file size (try to open monster modules like CGI.pm a few times :). However, when I'm desperately looking for an information, I may end up with many open windows (I do occasionally :).
>
>But the main question is: how much more memory? I wouldn't want to waste
>too much memory on a help file reader, mostly because I tend to have
>several other resource hungry apps open at the same time, such as
>Photoshop, QuarkXPress, Acrobat Distiller and Acrobat Reader, and of
>course MacPerl (otherwise it makes no sense to have Shuck open). It
>should, basically, remain low profile.

Minimum 768 KB (without virtual memory on 1033 KB)
Default 1024 KB (without virtual memory on 1289 KB)

Low enough? Note that even "old" Shuck uses temporary memory, i.e. the WASTE text engine allocates (most of) its memory not in Shuck's heap but from the free memory pool. So it may use more memory than the assigned memory partition (but you will never notice unless you are watching the "About this Macintosh" dialog box). However, there's always a price you have to pay. And you have the option to change the memory settings or use good old Shuck v1.4. Btw, I remember that my old System 7.1 uses about 1 MB of memory at one time, wheras it's hard to use less than 20 MB RAM for my Mac OS 8.6 ;-).

>
>But anyway, I would like Shuck to refuse gracefully to open more
>windows, if it looks like it will have a shortage of memory. You then
>would have the option to close some other windows, and try again.

Yep, patches welcome. Maybe version 1.60 will do? :)

>-- 
>	Bart.


Best regards,

--Thomas

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.