Re: Increasing shared arena.

New Message Reply Date view Thread view Subject view Author view

Brian Furtaw (brian++at++dingbat.clubfed.sgi.com)
Mon, 2 Mar 1998 23:19:01 -0500


If this is an O32 or N32 application you are limited to 1 GB of virtual memory
per process. Within that memory you have to fit the call stack, DSO, data,
executable instructions and some amount of heap. The arena of course comes
right out of the heap. You can reduce the call stack size with prctl(2), the
default stack size is 67,108,864 bytes for an N32 application.

If you compile 64bit this problem will disappear.

Brian

On Mar 2, 10:44pm, Svend Tang-Petersen wrote:
> Subject: Increasing shared arena.
> Hi pfAll.
>
> (Sorry if this already got through, but they have firewall problems so
> I don't know if mail timed
> out on me.)
>
> --
>
> Hi pfAll.
>
> I'm trying to increase the shared arena to 1GB. I did reconfigure the
> kernel and reboot, so when
> I type 'limit' it actually shows 1GB.
>
> Secondly I set
>
> pfSharedArenaSize(512000000);
> pfSemaArenaSize( 512000 );
> pfInitArenas();
> pfInit();
>
> but when I start the application, it exits with a message saying that it
>
> was only able to
> allocate 512MB.
>
> Any ideas ?
>
> (And yes, I have 1.28 GB)
>
> --
>
> Svend Tang-Petersen, MSc
>
> LEGO Silicon Graphics
> Kloevermarken 120 Stationsparken 25
> 7190 Billund 2600 Glostrup
> Denmark Denmark
>
> e-mail: svend++at++digi.lego.com , svend++at++copen.sgi.com
>
>
>
> =======================================================================
> List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
>
>-- End of excerpt from Svend Tang-Petersen

-- 
    ----oOOo----    ----oOOo----    ----oOOo----    ----oOOo----

Brian Furtaw (brian++at++sgi.com) VisSim Technical Consultant 12200-G Plum Orchard Drive Office:(301)572-3293 Fax: (301)872-3293 Silver Spring, Maryland 20904 OpenGL/ImageVision/OpenInventor/Performer

======================================================================= List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/ Submissions: info-performer++at++sgi.com Admin. requests: info-performer-request++at++sgi.com


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:56:58 PDT

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