Re: pfmalloc error

New Message Reply Date view Thread view Subject view Author view

Jim Helman (jimh++at++surreal)
Wed, 02 Nov 94 15:01:41 -0800


Most Performer items are allocated from shared memory, I'm
curious who's making such a large 330K allocation from the
heap. But that's a side issue.

The system error number reported in parenthesis is ENOMEM,
which indicates that malloc couldn't get any more virtual
memory to grow the heap. A couple things could cause this:

    1) Running up against the shell-set resource limit which
    can be displayed and set using the shell limit command.
    The variables datasize, memoryuse and vmemory use are
    relevant. The hard (-h) limits must be set before the
    soft ones. Also see, setrlimit(2). But usually this
    isn't a problem until you exceed 500MB or so.

    2) Running out of virutal memory. Unlikely, unless you
    are running Performer 1.1 on 5.X or running Performer
    1.2 on 5.1 or earlier. In both of these cases, the
    strict virtual memory accounting introduced in 5.X are
    the problem. A solution is to add a few hundred meg of
    virtual swap space with the swap(1M) command or with
    "chkconfig vswap on" and "emacs /etc/config/swap.options".

rgds,

-jim helman

jimh++at++surreal.asd.sgi.com
415/390-1151


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:50:38 PDT

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