[unix-pc.general] pathalias problem: out of memory type error

erict@flatline.UUCP (J. Eric Townsend) (04/03/89)

Well, here's the error:
pathalias: out of memory (2460k allocated); notify the authorities


I have this sneaking suspicion that I can only allocate 2460k per
process under my flavor of unix. (3b1 Unix 3.0, kinda like Sys V rel 0.0).

Any hints/solutions?
-- 
J. Eric Townsend |          Skate UNIX or die, segmented memory suckers!
 uunet!sugar!flatline!erict
bellcore!texbell!/            511 Parker #2    |EastEnders Mailing List:
Inet: cosc5fa@george.uh.edu   Houston,Tx,77007 |eastender@flatline.UUCP

judy@moray.UUCP (Judy Scheltema) (04/03/89)

In article <459@flatline.UUCP> erict@flatline.UUCP (J. Eric Townsend) writes:
>pathalias: out of memory (2460k allocated); notify the authorities
>I have this sneaking suspicion that I can only allocate 2460k per
>process under my flavor of unix. (3b1 Unix 3.0, kinda like Sys V rel 0.0).

It's not your flavor of Unix per se. I get the same thing under 3.51. I've
learned to just wait until I catch the machine fairly quiet (under .20 by
Lenny Tropiano's sysinfo daemon) and then run my mk.paths script, although
it's sometimes quite a while before I can catch moray not doing some kind
of batching/unbatching. I would love to hear other solutions who have
solved the problem without having to resort to my solution.



-- 
Judy Scheltema                |                     uunet!nuchat!moray!judy
			      |                            shell!moray!judy
Houston, Texas                |                 bellcore!texbell!moray!judy
Fido address: 1:106/889.5     |                     urchin.fidonet.org!judy

lenny@icus.islp.ny.us (Lenny Tropiano) (04/05/89)

In article <459@flatline.UUCP> erict@flatline.UUCP (J. Eric Townsend) writes:
|>
|>Well, here's the error:
|>pathalias: out of memory (2460k allocated); notify the authorities
|>
|>
|>I have this sneaking suspicion that I can only allocate 2460k per
|>process under my flavor of unix. (3b1 Unix 3.0, kinda like Sys V rel 0.0).
|>
|>Any hints/solutions?

This is strange.  On my UNIX pc, I'm running a pathalias every night, after
it runs uuhosts -unbatch (which unbatches new posted maps safely).  I'm
running 3.51 (actually a variant thereof) and pathalias'ing all the 
d.*, u.*, and my local map.* files.  This is the output I get, which
incidently has been working fine here for decades (well 2 years actually):

rehash into 2039
rehash into 3067
rehash into 5113
rehash into 8179
rehash into 13309
rehash into 21499
rehash into 34807
16997 vertices, 39445 edges
allocation is 1408k after parsing
*** mapping
heap high water mark was 5610
498 backlinks
heap high water mark was 498
7 backlinks
heap high water mark was 9
0 backlinks
You can't get there from here:
	ideia
	.labein.es
	obelix
	eupa.upv.es
	labein.es
	.nsi.es
	nsi
allocation is 1480k after mapping
allocation is 1480k after printing
memory allocator wasted 1980 bytes

This is only 1480k, not 2460k?  What are you trying to pathalias?
Granted I have 3.5MB in my machine ... that might have something to do
with it ;-)   I thought the only limit on this virtual memory machine was
the size of the swap space, after you allocated too much, it would fill
the swap space up and then die (this has happened to me).  I've also
gotten "Killed" when trying to start compresses when my system is utilizing
lots of memory.

-Lenny
-- 
Lenny Tropiano             ICUS Software Systems         [w] +1 (516) 582-5525
lenny@icus.islp.ny.us      Telex; 154232428 ICUS         [h] +1 (516) 968-8576
{talcott,decuac,boulder,hombre,pacbell,sbcs}!icus!lenny  attmail!icus!lenny
        ICUS Software Systems -- PO Box 1; Islip Terrace, NY  11752

judy@moray.UUCP (Judy Scheltema) (04/05/89)

In article <654@icus.islp.ny.us> lenny@icus.islp.ny.us (Lenny Tropiano) writes:
>In article <459@flatline.UUCP> erict@flatline.UUCP (J. Eric Townsend) writes:
>|>Well, here's the error:
>|>pathalias: out of memory (2460k allocated); notify the authorities
>This is strange.  On my UNIX pc, I'm running a pathalias every night, after
>it runs uuhosts -unbatch (which unbatches new posted maps safely).  I'm
>running 3.51 (actually a variant thereof) and pathalias'ing all the 

I'm getting the same error frequently. I have found that if I wait until the
system is relatively quiet (<.20 according to your sysinfo), I can *usually*
get the paths file to make, but I am only able to do the *usa* maps. I have
tried doing an entire set of maps, and I barely get the files unshared before
it errors out. I too, have a machine with 2M of memory. I have seen the
allocated 2460k of memory error once, but just figured some went wrong and
it was a fluke. I have a feeling it has a lot to do with the fact that you
have 3.5M of memory.

-- 
Judy Scheltema                |                     uunet!nuchat!moray!judy
			      |                            shell!moray!judy
Houston, Texas                |                 bellcore!texbell!moray!judy
Fido address: 1:106/889.5     |                     urchin.fidonet.org!judy

honey@mailrus.cc.umich.edu (peter honeyman) (04/07/89)

you should consider the possibility that the "2640 meg allocated" report 
is in error -- pathalias makes certain assumptions about the structure of
malloc-ed memory, which may be invalid on your machine.  (read the code
for details.)  not that this helps ... it sounds to me like your machine
has trouble with pathalias' use of a large address space.

	peter

erict@flatline.UUCP (J. Eric Townsend) (04/12/89)

I think i'm on to a solution:

I normally run pathalias by te method of:
cat files | pathalias -args > file; sort file > file; etc

Lenny suggested:
pathalias -args files > file

The second method works!  It does *not* blow up my machine.

Note:  Don't try and run two concurrent pathalias jobs on a 3b1 at once,
even 3.5Mb RAM isn't enough room...



-- 
J. Eric Townsend | "Enter, oh seeker of knowledge... That's *YOU*, fathead!"
 uunet!sugar!flatline!erict 
bellcore!texbell!/            511 Parker #2    |EastEnders Mailing List:
Inet: cosc5fa@george.uh.edu   Houston,Tx,77007 |eastender@flatline.UUCP
Newsgroups: news.admin,comp.sys.att.,unix-pc.general
Subject: Re: pathalias problem: out of memory type error
Summary: 
Expires: 
References: <470@flatline.UUCP> <1042@mailrus.cc.umich.edu> <22@desint.UUCP>
Sender: 
Reply-To: erict@flatline.UUCP (J. Eric Townsend)
Followup-To: 
Distribution: usa
Organization: Cold Lampin With Flav'
Keywords: 


I think i'm on to a solution:

I normally run pathalias by te method of:
cat files | pathalias -args > file; sort file > file; etc

Lenny suggested:
pathalias -args files > file

The second method works!  It does *not* blow up my machine.

Note:  Don't try and run two concurrent pathalias jobs on a 3b1 at once,
even 3.5Mb RAM isn't enough room...



-- 
J. Eric Townsend | "Enter, oh seeker of knowledge... That's *YOU*, fathead!"
 uunet!sugar!flatline!erict 
bellcore!texbell!/            511 Parker #2    |EastEnders Mailing List:
Inet: cosc5fa@george.uh.edu   Houston,Tx,77007 |eastender@flatline.UUCP