Article View: news.software.readers
Article #836xrn taking up lots of memory (was Re: XRN exits with Caught signal 11, Sun 4, OS 4.1.1)
From: Jonathan I. Kamens
Date: Tue, 05 Nov 1991 02:45
Date: Tue, 05 Nov 1991 02:45
29 lines
2435 bytes
2435 bytes
In article <sherman.689246642@foster>, sherman@unx.sas.com (Chris Sherman) writes: |> ************************************************************************* |> Can anyone tell me why xrn needs so much memory? |> ************************************************************************* Someone asked me about this in E-mail over the summer (Was it you, Chris? I can't find the message in my archives now....), and I couldn't come up with an answer then, but I was gifted with a bit of inspiration about twenty minutes ago which might account for the problem :-). Xrn allocates an array of structures for storing message headers and such in newsgroups that you read. The array is (end - start + 1) structures large, where "end" is the highest number for the newsgroup in your active file and "start" is the lowest number. My guess is that you're not running updatemin or whatever it is that updates the active file, and therefore the low numbers in it do not correspond to the lowest article numbers in the various newsgroups, so every time xrn allocates an array of header information structures, it has to allocate some number of structures that is significantly larger than the actual number of articles available in the newsgroup. You need to start running something to update the active file. -- Jonathan Kamens jik@MIT.Edu MIT Information Systems/Athena Moderator, news.answers (Send news.answers-related correspondence to news-answers-request@MIT.Edu.)
Technical Details
Message-ID:
<1991Nov5.024522.11311@athena.mit.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmdzi!zeus.ieee.org!europa.asd.contel.com!uunet!wupost!micro-heart-of-gold.mit.edu!bloom-beacon!bloom-picayune.mit.edu!athena.mit.edu!jikReferences:
<schwager.688325271@mike.cs.uiuc.edu> <1991Oct30.185507.20043@objy.com> <sherman.689246642@foster>Show Full Headers
Complete Article Headers
Message-ID: <1991Nov5.024522.11311@athena.mit.edu> Subject: xrn taking up lots of memory (was Re: XRN exits with Caught signal 11, Sun 4, OS 4.1.1) Date: Tue, 05 Nov 1991 02:45:22 +0000 From: jik@athena.mit.edu (Jonathan I. Kamens) References: <schwager.688325271@mike.cs.uiuc.edu> <1991Oct30.185507.20043@objy.com> <sherman.689246642@foster> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmdzi!zeus.ieee.org!europa.asd.contel.com!uunet!wupost!micro-heart-of-gold.mit.edu!bloom-beacon!bloom-picayune.mit.edu!athena.mit.edu!jik Newsgroups: news.software.readers Keywords: xrn Sender: news@athena.mit.edu (News system) Organization: Massachusetts Institute of Technology Lines: 29 Nntp-Posting-Host: pit-manager.mit.edu