home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / windows / x / 19436 < prev    next >
Encoding:
Text File  |  1992-11-21  |  2.3 KB  |  53 lines

  1. Newsgroups: comp.windows.x
  2. Path: sparky!uunet!uunet.ca!wildcan!sq!lee
  3. From: lee@sq.sq.com (Liam R. E. Quin)
  4. Subject: Re: FLAME, FLAME ON X!!!
  5. Message-ID: <1992Nov22.035026.841@sq.sq.com>
  6. Organization: SoftQuad Inc., Toronto, Canada
  7. X-Feet: bare
  8. References: <1992Nov11.152545.1929@westford.ccur.com> <1ebp5cINNp7c@armory.centerline.com> <1992Nov18.170444.29009@thyme.jpl.nasa.gov> <1992Nov18.183826.2652@lsl.co.uk>
  9. Date: Sun, 22 Nov 92 03:50:26 GMT
  10. Lines: 41
  11.  
  12. On X servers getting bigger and smaller...
  13. well, first some quotes:
  14.  
  15. Someone long since deleted wrote:
  16. > Actually, I once saw a malloc package that could be made to return some
  17. > memory to the operating system by clever use of sbrk and brk [...]
  18.  
  19. In article jimf@centerline.com (Jim Frost) writes:
  20. > I've written such a thing, actually.  [...]
  21.  
  22. kaleb@thyme.jpl.nasa.gov (Kaleb Keithley) writes:
  23. > But all the world's not a Sun.  I've had people tell me that a negative
  24. > value to sbrk on other systems either is ignored or is an error.
  25.  
  26. Hmm, I wrote a malloc() like that once, too, because I was getting memory
  27. leaks in my text retrieval package simply because of a poor realloc().
  28.  
  29. On the X server topic, note that Sun's OpenWindows 3 xnews server *does*
  30. get smaller from time to time.  I am not sure what it's doing, though.  It
  31. might be using shared memory segments.  It certainly uses mmap() sometimes.
  32. At any rate, destroying a NeWS canvas returns the memory pretty much
  33. immediately.  Try using pageview, setting the resolution to 150 dpi (say),
  34. and turning antialiasing on (use Edit->Properties, then Apply), then see how
  35. big xnews is.  Then quit pageview, wait a minute, and see how much smaller
  36. the server just got.
  37.  
  38. The window server that came with out DECStation, under Ultrix, grows to
  39. about 9 megabytes if you have two XTerms, a window manager (olvwm or mwm)
  40. and no other clients.  Pretty wild, especially when the machine has only
  41. 16 MBytes of RAM.
  42.  
  43. It's a shame Sun are dropping xnews - there are a lot of relatively
  44. sophisicated features in it, and I don't imagine they'll migrate into X11.
  45.  
  46. Lee
  47.  
  48. -- 
  49. lee@sq.com (Liam Quin) the barefoot programmer; SoftQuad Inc +1 416 239 4801
  50.  OPEN LOOK UI FAQ; Metafont list; HexSweeper NeWS game; lq-text text retrieval
  51.  `The priestes boy came, whyle the flesh was seething' [lq-text-request@sq.com
  52.  1 Sam II:13/Miles Coverdale/1535
  53.