How can use pfSharedArenaSize?

New Message Reply Date view Thread view Subject view Author view

From: paul li (paul_895++at++hotmail.com)
Date: 02/21/2000 04:41:13


     When I ran my program(It was just a loop loading models
and textures). At last it would tell as follows:
        "PF Fatal/Resource:pfMemory::new() Unable to allocate
        3145744 bytes from arena 0x18040000.
        Try using pfSharedArenaSize() or env PFSHAREDSIZE
        to increase the arena size
        (currently 262144.00 KBytes) and check for adequate
        setrlimit() values and available space on swap
        (or pfTmpDir()). "
     So I added
        " pfSharedArenaSize(536870912);
          pfInitArenas(); "
but when I ran again, it would just give half of I wanted(if I
want more than about 400M).
     And this mothod will just let my program run more time, at
last it surely dies(I have freed the textures after I load then).
what should I do ?
     Thank you very much!

            Paul

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Mon Feb 21 2000 - 04:41:17 PST

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