home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / amiga / programm / 18442 < prev    next >
Encoding:
Internet Message Format  |  1993-01-10  |  1.6 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!ub!rutgers!cbmvax!cbmehq!cbmger!edohwg!heinz
  2. From: heinz@edohwg.adsp.sub.org (Heinz Wrobel)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Programming is getting painful!
  5. Message-ID: <heinz.060f@edohwg.adsp.sub.org>
  6. Date: 8 Jan 93 19:14:11 GMT
  7. References: <C0IwoG.7ow@usenet.ucs.indiana.edu>
  8. Organization: Edotronik GmbH
  9. Lines: 34
  10.  
  11. In article <C0IwoG.7ow@usenet.ucs.indiana.edu> shulick@navajo.ucs.indiana.edu (Sam Hulick) writes:
  12. >immediately, and sure enough.. about 8k bytes are not freed.  HOW does
  13. >one trace these memory leaks?    And please don't say MungWall or
  14.  
  15. MungList ;^) (with mungwall of course)
  16.  
  17. >Enforcer.  I really don't understand one bit of their output.  ANy help
  18.  
  19. RTFM. Munglist can show you all current allocations with the names of the
  20. processes.
  21.  
  22. I use
  23.  
  24.     run >NIL: mungwall megastack nametag showfail
  25.  
  26. in my user-startup. Then I start some SW, kill it, do an avail flush and a
  27.  
  28.     munglist >t:t
  29.  
  30. Then I check the t:t for the programs name which shows me any "leftovers"
  31. and their address. Looking at that the size and the memory with a debugger
  32. tells me (usually) where this allocation took place and gives me a clue
  33. what happened.
  34.  
  35.  
  36. >    // Amiga 3000   ___ \ Sam Hulick: shulick@indiana.edu (NeXTmail OK!)
  37.  
  38. --
  39. Heinz Wrobel, Edotronik GmbH (ECG018)
  40. FAX +49 89 850 51 25 / TEL +49 89 850 25 20 (HOME!&VOICE, sometimes...)
  41. Path: cbmehq!cbmger!edohwg!heinz@cbmvax.commodore.com
  42. "It's good to have a mouse, it's faster if you can do without one..."
  43. "He who doesn't develop with an A2024 doesn't know about font independent
  44.  user interfaces..."
  45.