🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #74028

Re: failed to malloc

#74028
From: Jeffrey M. Vinocur
Date: Sun, 13 Aug 2006 15:32
24 lines
1734 bytes
In article <12dtdvpq2mp4i43@corp.supernews.com>,
ays <serenity@OBVIOUSc-zone.net> wrote:
>
>makehistory: failed to malloc 60000000 bytes at dbz.c line 1282: Cannot
>allocate memory
>
>Searched threads, found article with similar error suggesting:
>Probably you need to use the -s flag.
>
>Try `wc -l history` to get an estimate of what number to use.
>
>Tried both (but I probably need more detailed instructions), same error
>generated.

Well, how many lines were in your history file?

But, realistically, you should have no trouble allocating 60 MB
anyway.  What happens if you run `ulimit -a`?  Is there an
artificial limit on max memory size causing you trouble?


-- 
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID: <ebngm4$b42$1@puck.litech.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!news.litech.org!not-for-mail
References: <12dtdvpq2mp4i43@corp.supernews.com>

Show Full Headers
Complete Article Headers
Message-ID: <ebngm4$b42$1@puck.litech.org>
Subject: Re: failed to malloc
Date: Sun, 13 Aug 2006 15:32:20 +0000
From: jeff@litech.org (Jeffrey M. Vinocur)
References: <12dtdvpq2mp4i43@corp.supernews.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!news.litech.org!not-for-mail
Newsgroups: news.software.nntp
Organization: Litech Systems Design
Lines: 24
Sender: jeff@litech.org
NNTP-Posting-Host: puck.litech.org
X-Trace: puck.litech.org 1155483140 11394 66.218.0.75 (13 Aug 2006 15:32:20
 GMT)
X-Complaints-To: usenet@litech.org
NNTP-Posting-Date: Sun, 13 Aug 2006 15:32:20 +0000 (UTC)
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
Originator: jeff@litech.org (Jeffrey M. Vinocur)