Subject: Re: Memory Leak?

From: David L Miller <[email-masked]>
Date: Tue, 13 Aug 1996 16:49:53 -0700

We don't know of any significant memory leaks in Pine 3.95.  What
alternate editor are you using and what is the system load like when
this occurs?

|\ |  |\/|  David L. Miller    [email-masked]  (206) 685-6240
|/ |_ |  |  Software Engineer, Pine Development Team   (206) 685-4045 (FAX)
University of Washington, Networks & Distributed Computing, Box 354841
4545 15th Ave NE, Seattle WA 98105, USA

On 13 Aug 1996, Ng Pheng Siong wrote:

> From: Ng Pheng Siong <[email-masked]>
> Newsgroups: comp.mail.pine
> Subject: Memory Leak?
> Date: 13 Aug 1996 03:23:27 GMT
> Organization: Pacific Internet, Singapore
> Message-ID: <[email-masked]>
> NNTP-Posting-Host: darkwing.pacific.net.sg
> X-Newsreader: TIN [UNIX 1.3 unoff BETA release 960808]
> 
> Hi,
> 
> Am using Pine 3.95 (gso), typical INBOX size is 9MB. Every now and then,
> 'compose' or 'reply' says "Cannot fork editor: not enough space" or words
> to that effect. Is this a memory leak?
> 
> TIA. Cheers.
> 
> --
> Ng Pheng Siong <[email-masked]> * Finger for PGP key.
> Pacific Internet Pte Ltd * Singapore
>  
> Fast, secure, cheap. Pick two.
> 
>

---

From: David L Miller <[email-masked]>
Date: Wed, 14 Aug 1996 11:48:04 -0700

On Wed, 14 Aug 1996, Ng Pheng Siong wrote:

> Editor is /bin/vi, invoked implicitly.
> Machine is Solaris 2.5, Sparc 5, 32MB. My desktop; typically 3 xterms, 
> 1 www browser. Only server is SMTP (qmail ;). Load is low.
> 
> When this occurs, I'd quit Pine and restart, and it'll be ok.

Next time, check the amount of free memory and swap.  Even without a
memory leak, you could run into memory fragmentation problems if you
are low on memory anyway.  One thing to try is re-compiling with a
different malloc() that is more aggressive about returning freed
memory to the system...

---

From: Ng Pheng Siong <[email-masked]>
Date: Wed, 14 Aug 1996 08:06:13 +0800

Cheers.

- PS