home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / aix / 9230 < prev    next >
Encoding:
Text File  |  1992-08-31  |  1.1 KB  |  24 lines

  1. Newsgroups: comp.unix.aix
  2. 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
  3. From: mskucher@math.uwaterloo.ca (Murray S. Kucherawy [MFCF])
  4. Subject: putuserattr() chomping memory
  5. Message-ID: <Btv3po.9sB@math.uwaterloo.ca>
  6. Sender: mskucher@math.uwaterloo.ca (Murray S. Kucherawy [MFCF])
  7. Organization: Math Faculty Computing Facility, University of Waterloo, Canada
  8. Date: Mon, 31 Aug 1992 19:05:47 GMT
  9. Lines: 13
  10.  
  11. I have a program (yes, the same one as before) that uses frequent calls
  12. to putuserattr() and its friends.  It seems that after a large number of these
  13. calls, my page space is filling to the brim, and the program gets SIGKILLed
  14. by the kernel.
  15.  
  16. After looking over my use of malloc() and free() calls, I am beginning to
  17. believe that the problem is with the putuserattr() calls - the more of them
  18. I use, the more memory I take up.  Every memory block I allocate gets freed
  19. up before the subroutine exits, so I don't think my garbage collection
  20. is the problem.
  21.  
  22. Has anyone else encountered this?  Is there an acceptable workaround?
  23. Where should I be looking to solve this problem?
  24.