home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / windows / openloo / 4982 < prev    next >
Encoding:
Internet Message Format  |  1993-01-07  |  1.9 KB

  1. Xref: sparky comp.windows.open-look:4982 alt.toolkits.xview:1185
  2. Path: sparky!uunet!pmafire!news.dell.com!texsun!cronkite.Central.Sun.COM!news2me.EBay.Sun.COM!exodus.Eng.Sun.COM!exodus!rickg
  3. From: rickg@eng.sun.com (The Tankster)
  4. Newsgroups: comp.windows.open-look,alt.toolkits.xview
  5. Subject: Re: Mem leaks in Xview?
  6. Message-ID: <RICKG.93Jan7085540@irondude.eng.sun.com>
  7. Date: 7 Jan 93 14:55:40 GMT
  8. References: <C0EJr7.Dny@animal.er.bell.ca> <BUZZ.93Jan6090422@lion.bear.com>
  9.     <hue.726392843@coney>
  10. Reply-To: rickg@eng.sun.com
  11. Organization: SunSoft, Inc.
  12. Lines: 38
  13. NNTP-Posting-Host: irondude
  14. In-reply-to: hue@island.COM's message of Thu, 7 Jan 1993 07:47:23 GMT
  15.  
  16.  
  17.  
  18.    From: hue@island.COM (Pond Scum)
  19.    Organization: Island Graphics Corp.
  20.    Date: Thu, 7 Jan 1993 07:47:23 GMT
  21.  
  22.    buzz@bear.com (Buzz Moschetti) writes:
  23.    >If you hope to see your process memory usage drop by 4k when you
  24.    >deallocate during PANEL_LIST_DELETE, you won't.  Memory allocated by the
  25.    >process cannot be returned to the pool -- that's Un*x, not X or XView.
  26.  
  27.    It's your malloc, not UNIX.  I have an application that runs on SunOS 4.1.x
  28.    and it sometimes grows to 60 or 70MB when the user does certain operations,
  29.    and then shrinks to two or three megabytes when the operations complete
  30.    and resources are freed.
  31.  
  32.    However, from what I can tell, there is a 20 byte leak every time you
  33.    xv_create something.  It looks like xv_destroy doesn't free that twenty
  34.    bytes.  Purify tells me it's in generic_init, which I guess is the init
  35.    function for the base XView class.
  36.  
  37.  
  38.  
  39. yep, i believe this was fixed in 3.0.1 (aka Solaris 2.0).
  40.  
  41. <<tank
  42. --
  43.  
  44. *********************************************************************
  45.  
  46.     Richard M. "Tank" Goldstein        rickg@Eng.Sun.COM
  47.     Window Developer Environment,
  48.     SunSoft, Inc.
  49.  
  50.     "I'm a scientist.  I don't think, I observe."
  51.             -Dr. Clayton Forrester
  52.  
  53. *********************************************************************
  54.