Erik Johnson (erik.johnson++at++boeing.com)
Thu, 21 May 1998 12:54:20 -0700
Using amallinfo(pfGetSharedArena()) [from Oyvind Roa's email] shows me the
"total space in arena" creeps higher and higher when I page files until I hit
the max.
Using gmemusage shows the IRIX's FS Cache get bigger and bigger as well. This
doesn't really surprise me, because that is it's job right? To cache files
into memory?
I can reduce the problem a little by using [again from Oyvind Roa] :
amallopt(M_FREEHD, 1, pfGetSharedArena()) ;
amallopt(M_MXCHK, 1000L, pfGetSharedArena()) ;
...but the problem is still there.
Some other questions:
o It seems I only get half as much pfSharedArenaSize as I ask for. If I
pass in 1 Gig, I get a 500 meg space. Am I missing something here?
o What is /dev/zero used for? Using gmemusage I see that my application is
using more and more memory for this.
Thanks for any info,
Erik
On May 21, 5:16pm, Javier Abadia Miranda wrote:
> Subject: DBASE memory leaks revisited
> Hello
>
> I am experiencing some problems with dbase management.
>
> I page in and out many pieces of a terrain dbase. And
> I notice that memory consumption is always increasing.
>
> With gmemusage I can see that what is actually getting
> bigger is Irix memory space, particulary an area called
> FS Cache.
>
> I assume that this memory area is File System cache,
> so I first thought that I had some files opened and not
> closed.
>
> I have revised my code and I am quite sure that I
> close every open file.
>
> Other "curious" effect is that if I stop moving
> during a while, the FS cache starts going down.
>
> Does Irix keep data from closed files in memory?
>
> Is there a way to prevent Irix consuming this
> phisical memory to speed up my application?
>
>
> Thank you.
>
> =======================================================================
> 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 Javier Abadia Miranda
-- ____________________________________________________________________ Erik Johnson (erik.johnson++at++boeing.com) The Boeing Company : Rotocraft Pilot's Associate Program Mesa, AZ (602) 891-7289 ____________________________________________________________________
======================================================================= List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/ Submissions: info-performer++at++sgi.com Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:57:25 PDT