Article View: news.software.readers
Article #163639Re: XNews; Handling very large newsgroups - Very long to shut down and load.
From: Murray Peterson
Date: Wed, 09 Mar 2005 03:01
Date: Wed, 09 Mar 2005 03:01
33 lines
2490 bytes
2490 bytes
John <john1_2005@hotmail.com> wrote in news:Xns9613DC064831john12005hotmailcom@194.168.222.120: > I thought of a possible solution to this problem. > > It all depends on if when the headers are threaded they are > removed from memory and only the threaded header is kept in memory. Threading the headers consists of ordering them, not creating duplicates. There isn't any memory wasted. The OP was talking about 500,000 headers or more, which works out to at least of 500 megabytes of RAM required to store a single copy of the headers. > If this is the case, then Xnews could thread headers as it downloads, > so that only the threaded headers are stored in memory, then there > would be a lot less and could save a lot of ram. There is only a single copy of each header stored in memory. The threading is done after all downloading and filtering is finished -- it's more efficient this way (no need to thread any headers that have been filtered out of existence). The OP was talking about the time taken to shut down a newsgroup, not open it. This is a different problem entirely -- he probably doesn't use catch- up and has developed a badly "fragmented" newsrc file. After a while, Xnews would take forever to mark up all of the newsrc fragments. -- Murray Peterson Email: murray.spamtrap1@shaw.ca URL: http://members.shaw.ca/murraypeterson/
Technical Details
Message-ID:
<Xns9613CBC609BBDfarkle@24.71.223.159>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!pd7cy2so!shaw.ca!pd7tw3no.POSTED!53ab2750!not-for-mailReferences:
<Xns94EFA1CFE9253tlingzhonnetscapenet@216.168.3.44> <Xns94EFD6943FDBFwunderpsdrscraytheon@216.196.97.142> <Xns9613DC064831john12005hotmailcom@194.168.222.120>Show Full Headers
Complete Article Headers
Message-ID: <Xns9613CBC609BBDfarkle@24.71.223.159> Subject: Re: XNews; Handling very large newsgroups - Very long to shut down and load. Date: Wed, 09 Mar 2005 03:01:28 GMT From: Murray Peterson <mwp@home.com.invalid> References: <Xns94EFA1CFE9253tlingzhonnetscapenet@216.168.3.44> <Xns94EFD6943FDBFwunderpsdrscraytheon@216.196.97.142> <Xns9613DC064831john12005hotmailcom@194.168.222.120> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!pd7cy2so!shaw.ca!pd7tw3no.POSTED!53ab2750!not-for-mail X-Trace-PostClient-IP: 68.145.154.89 Newsgroups: news.software.readers Organization: None User-Agent: Xnews/06.02.16 Lines: 33 NNTP-Posting-Host: 24.71.223.147 X-Complaints-To: abuse@shaw.ca X-Trace: pd7tw3no 1110337288 24.71.223.147 (Tue, 08 Mar 2005 20:01:28 MST) NNTP-Posting-Date: Tue, 08 Mar 2005 20:01:28 MST