Article View: news.software.readers
Article #9337Re: Tin: Big memory leak!!!!!
From: Clifton Royston
Date: Thu, 02 Jun 1994 23:50
Date: Thu, 02 Jun 1994 23:50
43 lines
2893 bytes
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
Technical Details
Message-ID:
<cliftonrCqsnJs.FAA@netcom.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!bga.com!news.sprintlink.net!hookup!europa.eng.gtefsd.com!library.ucla.edu!csulb.edu!csus.edu!netcom.com!cliftonrReferences:
<hson.770159340@father.ludd.luth.se> <2si9go$oc7@qns1.qns.com>Show Full Headers
Complete Article Headers
Message-ID: <cliftonrCqsnJs.FAA@netcom.com> Subject: Re: Tin: Big memory leak!!!!! Date: Thu, 2 Jun 1994 23:50:10 GMT From: cliftonr@netcom.com (Clifton Royston) References: <hson.770159340@father.ludd.luth.se> <2si9go$oc7@qns1.qns.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!bga.com!news.sprintlink.net!hookup!europa.eng.gtefsd.com!library.ucla.edu!csulb.edu!csus.edu!netcom.com!cliftonr Newsgroups: news.software.readers Organization: Volcano Communications X-Newsreader: TIN [version 1.2 PL1] Lines: 43