🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #10786

TIN: out of memory

#10786
From: Henry Hwong
Date: Fri, 12 Aug 1994 18:23
14 lines
1465 bytes
I'm trying to use TIN 1.2PL2 with NetBSD 1.0 BETA right now, and I'm running
into a problem with TIN trying to allocate a bunch of memory in the function
check_for_any_new_groups() in the active.c file. I notice that if you use
NNTP (rtin), max_old_active is set to 16, but if you're reading news
directly off the spool directory, max_old_active is set to num_active.
Since we're trying to capture all newsgroups (and prune later), we have
>8700 newsgroups. When tin get to the code that allocates space for old_active
via my_malloc(), it tries to allocate >8MB of memory in non-NNTP mode, which
calloc doesn't seem to like.

Would it hurt to reduce or put a max size for max_old_active like what TIN
is doing in NNTP mode?

-Henry
Technical Details
Message-ID: <32geml$9n9@nkosi.well.com>
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!bga.com!news.sprintlink.net!hookup!swrinde!howland.reston.ans.net!usc!nic-nac.CSU.net!charnel.ecst.csuchico.edu!olivea!decwrl!parc!barrnet.net!well!henryh

Show Full Headers
Complete Article Headers
Message-ID: <32geml$9n9@nkosi.well.com>
Subject: TIN: out of memory
Date: Fri, 12 Aug 1994 18:23:17 +0000
From: henryh@well.sf.ca.us (Henry Hwong)
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!bga.com!news.sprintlink.net!hookup!swrinde!howland.reston.ans.net!usc!nic-nac.CSU.net!charnel.ecst.csuchico.edu!olivea!decwrl!parc!barrnet.net!well!henryh
Newsgroups: news.software.readers
Organization: The Whole Earth 'Lectronic Link, Sausalito, CA
Lines: 14
NNTP-Posting-Host: well.sf.ca.us
X-Newsreader: TIN [version 1.2 PL1]