Re: pfMalloc error

New Message Reply Date view Thread view Subject view Author view

Bernard Leclerc (bleclerc++at++cae.ca)
Fri, 3 May 1996 17:15:04 -0400


On May 1, 4:51pm, Michael Baldwin wrote:

> I'm trying to load a large terrain database into MaK's Stealth, which is a
> Performer based application. I've changed the setup to only load one terrain
> patch (so there would be no chance of me running out of memory). I'm using
an
> ONYX w/512MB RAM and 1GB or so of swap. I'm not using very much of its
memory
> during the load, yet it dies and gives the following error message:
>
> Performer Fatal (12): pfMalloc() Unable to allocate 336012 bytes from the
> heap.
>
> I've asked MaK and they thought I may have been running low on memory in
> /usr/tmp, where the pfUtilDataPool____.pfdpool files are stored. I'm at
about
> 95%, but I still have about 65MB or so, and no files seems to be written to
> /usr while its trying to load the database.

Mike,

Try: setenv PFTMPDIR /disk_with_much_space_left

Remember that Performer arena size is limited to 256Mb by default. It might be
necessary to call pfSharedArenaSize() to increase the default value. However, I
find it strange that you need more space if you're loading only one terrain
patch. Have you tried to load the patch in perfly? Or even simple.c?

--
      ___/      |        ___/	Bernard Leclerc		e-mail: bleclerc++at++cae.ca
     /        / |       /	Systems Engineer	voice: +1 514 341 2000
    /        /  |      __/	CAE Electronics Ltd.		extension 2275
   /        /   |     /		8585 Cote De Liesse	fax:   +1 514 340 5496
  /        ____ |    /		P.O. Box 1800
_____/   _/    _|  _____/	Saint-Laurent, Quebec, Canada, H4L-4X4

New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:52:52 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.