home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.aix
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!jvnc.net!yale.edu!qt.cs.utexas.edu!cs.utexas.edu!torn!watserv2.uwaterloo.ca!watmath!mskucher
- From: mskucher@math.uwaterloo.ca (Murray S. Kucherawy [MFCF])
- Subject: putuserattr() chomping memory
- Message-ID: <Btv3po.9sB@math.uwaterloo.ca>
- Sender: mskucher@math.uwaterloo.ca (Murray S. Kucherawy [MFCF])
- Organization: Math Faculty Computing Facility, University of Waterloo, Canada
- Date: Mon, 31 Aug 1992 19:05:47 GMT
- Lines: 13
-
- I have a program (yes, the same one as before) that uses frequent calls
- to putuserattr() and its friends. It seems that after a large number of these
- calls, my page space is filling to the brim, and the program gets SIGKILLed
- by the kernel.
-
- After looking over my use of malloc() and free() calls, I am beginning to
- believe that the problem is with the putuserattr() calls - the more of them
- I use, the more memory I take up. Every memory block I allocate gets freed
- up before the subroutine exits, so I don't think my garbage collection
- is the problem.
-
- Has anyone else encountered this? Is there an acceptable workaround?
- Where should I be looking to solve this problem?
-