home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / os2 / programm / 6281 < prev    next >
Encoding:
Internet Message Format  |  1992-11-08  |  1.9 KB

  1. Path: sparky!uunet!mcsun!uknet!doc.ic.ac.uk!agate!spool.mu.edu!hri.com!noc.near.net!lynx!random.ccs.northeastern.edu!tonyk
  2. From: tonyk@ccs.northeastern.edu (Antoun Kanawati)
  3. Newsgroups: comp.os.os2.programmer
  4. Subject: Question: Get process size under OS/2 2.0?
  5. Message-ID: <1992Nov8.153303.11056@random.ccs.northeastern.edu>
  6. Date: 8 Nov 92 15:33:03 GMT
  7. Sender: news@random.ccs.northeastern.edu
  8. Reply-To: tonyk@ontos.com
  9. Organization: College of CS, Northeastern U
  10. Lines: 29
  11. Nntp-Posting-Host: damon-gateway.ccs.northeastern.edu
  12.  
  13. While testing a large number of interacting programs (a daemon, clients and
  14. servers), I am persistenly faced with unbounded swap file growth, even when
  15. all other known resource utilizations are known to be constant.
  16.  
  17. Futhermore, the conditions inducing the growth require the interaction of
  18. several programs, thus leaving me in the dark about which process is growing
  19. the swap file.
  20.  
  21. Knowing that swap file size is related to process size(s), I wanted to
  22. instrument the programs to measure their process sizes at chosen points to
  23. narrow my search for the monumental memory leak.
  24.  
  25. Note that swap file size differentials around calls are not accurate, since
  26. the swap file is affected globally, and a growth during a call to foo() could
  27. be easily caused by another process (e.g.: let foo() be a remote procedure
  28. stub).
  29.  
  30. Finally, I have stumbled across DosQueryMem(), but was not lucky enough to
  31. figure out how it works if I wanted to measure heap space.  Some results
  32. appear related to static space size, and to code size; however, experiments
  33. with the heap were not very useful.
  34.  
  35. Please copy your reply to tonyk@ontos.com;
  36.  
  37. -- 
  38. Antoun (Tony) Kanawati    | Ontos, Inc.         | +----------------------+
  39. tonyk@ontos.com        | Three Burlington Woods | |    SPACE FOR RENT    |
  40. uunet!uupsi!ontos!tonyk    | Burlington, MA 01803     | |                      |
  41. tonyk@{corwin|flora}.ccs.northeastern.edu     | +----------------------+
  42.