Sharon Clay (src++at++rose.asd.sgi.com)
Tue, 30 Apr 1996 01:02:26 -0700
I will second the comment that we hve no known memory leaks. However,
memory usage can be seen due to several factors:
In IRIX 5.3 there was a couple of IRIX bugs that cause cause IRIX itself
to grow. If you are having memory management problems, the first
thing to do is to run bloatview (for IRIX5.3) or gmemusage (IRIX6.2)
and look to see who is actually growing - your app or IRIX.
Then, click on your process to see the full display and find out if
it is the swap area (which is where we put the shared memory arena)
or the sbreak (heap) area of a single process that is growing.
Performer almost always allocates data from the arena. If that seems to
be growing it may be due to
1) fragmentation
2) the amount of space to hold data as you bring in new files and
slowly asynch delete others may be much more than you expect and
grow in jumps, but may not actually grow without bound.
Things to try first:
o set some options to malloc to improve compaction of memory allocation
to reduce fragmentation:
amallopt(M_MXCHK, 1000000, pfGetSharedArena());
amallopt(M_FREEHD,1,pfGetSharedArena());
o track the growth of the arena to isolate out when it is growing.
amallinfo will give you back size info of the arena.
src.
--
-----{-----{---++at++ -----{----{---++at++ -----{----{---++at++ -----{----{---++at++
Sharon Rose Clay (Fischler) - Silicon Graphics, Advanced Systems Dev.
src++at++sgi.com (415) 933 - 1002 FAX: (415) 965 - 2658 MS 8U-590
-----{-----{---++at++ -----{----{---++at++ -----{----{---++at++ -----{----{---++at++
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:52:49 PDT