🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
3 messages
3 total messages Started by Roger H}kansson Sat, 28 May 1994 21:08
Tin: Big memory leak!!!!!
#9237
Author: Roger H}kansson
Date: Sat, 28 May 1994 21:08
15 lines
1395 bytes
I had some trouble with tin on Sun3/4.1.1_U1 Sun4/4.1.3 and VAX/Ultrix 4.3
When i recompiled tin, to use with INN1.4 , i diskovered a BIG memory leak
at this line in active.c tin malloc 8Mb of memory which later does'nt free

>old_active = (notify_p) my_malloc ((unsigned) sizeof (struct t_notify) * max_old_active);

It only accures when i read through nfs or on localhost
I dont want to use SMALL_MEMORY_MACHINE so i wonder if anyone else had the same 
problem, and if so : have you solved it????


-- 
# Roger "hson" Hakansson # Tel: +46 (0)920 47869  			#
# S-mail: Hagelvagen 5:27 97632 Lulea             			#
# E-mail: hson@ludd.luth.se,m93-rhn@jota.sm.luth.se or hson@ftp.sunet.se#
Re: Tin: Big memory leak!!!!!
#9293
Author: Quentin Conner
Date: Wed, 01 Jun 1994 15:29
28 lines
2043 bytes
Roger H}kansson (hson@ludd.luth.se) wrote:
: I had some trouble with tin on Sun3/4.1.1_U1 Sun4/4.1.3 and VAX/Ultrix 4.3
: When i recompiled tin, to use with INN1.4 , i diskovered a BIG memory leak
: at this line in active.c tin malloc 8Mb of memory which later does'nt free

: >old_active = (notify_p) my_malloc ((unsigned) sizeof (struct t_notify) * max_old_active);

: It only accures when i read through nfs or on localhost
: I dont want to use SMALL_MEMORY_MACHINE so i wonder if anyone else had the same 
: problem, and if so : have you solved it????

On and off I have been looking at Tin's memory usage for several months.  Others
on the Net have similar problems - at our site with 6400 groups we see memory
usage of 28 MB at times...

As far as I know the author hasn't been any help.  I heard from another with these
problems that the author said "we have fixed the bug in the new beta release, but
to get on the beta program you need to donate some money or equipment".  This is
pure heresay, so I don't stand behind this.  It is a frustrating problem, however.

Regards,

Quentin
-- 
Quentin Conner (quentin@qns.com)
Questar Network Services  ------->  Public Internet Access for Oklahoma
5900 Mosteller Drive, 15th Floor    info@qns.com    or  (405) 848-3228
Oklahoma City, OK  73112            (405) 843-9434 fax  (405) 843-9395 data
Re: Tin: Big memory leak!!!!!
#9337
Author: Clifton Royston
Date: Thu, 02 Jun 1994 23:50
43 lines
2893 bytes
Quentin Conner (quentin@qns1.qns.com) wrote:
: Roger H}kansson (hson@ludd.luth.se) wrote:
: : I had some trouble with tin on Sun3/4.1.1_U1 Sun4/4.1.3 and VAX/Ultrix 4.3
: : When i recompiled tin, to use with INN1.4 , i diskovered a BIG memory leak
: : at this line in active.c tin malloc 8Mb of memory which later does'nt free

: : >old_active = (notify_p) my_malloc ((unsigned) sizeof (struct t_notify) * max_old_active);

: : It only accures when i read through nfs or on localhost
: : I dont want to use SMALL_MEMORY_MACHINE so i wonder if anyone else had the same 
: : problem, and if so : have you solved it????

: On and off I have been looking at Tin's memory usage for several months.  Others
: on the Net have similar problems - at our site with 6400 groups we see memory
: usage of 28 MB at times...

The problem has to do with allocating space to hold a list of the
newsgroups; it is freed from C, but that does not release it back to the OS. 
The solution is to make it allocate less space to start with.

I have an unauthorized fix for this filed somewhere.  I will try to post it
soon.

: As far as I know the author hasn't been any help.  I heard from another with these
: problems that the author said "we have fixed the bug in the new beta release, but
: to get on the beta program you need to donate some money or equipment".  This is
: pure heresay, so I don't stand behind this.  

Please do not quote hearsay without more research.  I do not believe Iain
would say this.  (I do believe he might say you need to donate your time and
equipment to help him get it running; I was asked to take part in the 1.2PL3
beta but had to decline.)

Tin 1.23 has been in beta for a long time, which leads me to believe Iain
has been snowed under with other responsibilities.  Remember that, like the
other newsreader authors, he is not getting paid for this and has to work
another job.  When people pay for access to Usenet, generally speaking none
of it rolls along to the authors of the software.
  -- Clifton

--
cliftonr@netcom.com     Phone: +1 808 521 9073
Clifton Royston  --  embedded, system, and applications software design
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads