[info-performer] Memory Problem

Date view Thread view Subject view Author view

From: Panacea L (panacea_l9++at++hotmail.com)
Date: 06/13/2004 22:57:38


 
Hi,
   I'm using Performer 3.1 on Red Hat Linux ( 9.0 ). I'm using one
processor.

   When I try to load a model, I get the following error.
======================
PF Fatal/Resource: pfMemory::new() Unable to allocate 545028112 bytres from
arena 0x4379d000
        Try using pfSharedArenaSize or env PFSHAREDSIZE to increase arena suze
        ( currently 65536.00 KBytes ) and check for adequate setrlimit()
        values and available space on swap ( or pfTmpDir() )
======================

After this error, I did the following:

> struct rlimit *r1;
>
> r1->rlim_cur = RLIM_INFINITY;
> r1->rlim_max = RLIM_INFINITY;
>
> setrlimit(RLIMIT_MEMLOCK, r1);
>
> printf("Before: %ld", pfGetSharedArenaSize());
> pfGetSharedArenaSize(1000000000);
> printf("After: %ld", pfGetSharedArenaSize());

        I still continued to get the message. And the values of Arena size before
and
        after setting Shared Arena size were the same. I have a 256MB RAM and 512MB
        of swap space.

        Am I doing something wrong? Can you please suggest a solution to this
        without increasing the RAM ( I cant afford one ). Any kind of help/
suggestion would be appriciated.

_________________________________________________________________
Screensavers for every mood! Jazz up your screen!
http://www.msn.co.in/Download/screensaver/ Bring your PC to life!


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Sun Jun 13 2004 - 22:59:16 PDT