home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / windows / x / motif / 8841 < prev    next >
Encoding:
Internet Message Format  |  1993-01-26  |  1.6 KB

  1. Path: sparky!uunet!spool.mu.edu!agate!ucbvax!NMR.RUG.AC.BE!VANDAMME
  2. From: VANDAMME@NMR.RUG.AC.BE
  3. Newsgroups: comp.windows.x.motif
  4. Subject: How avoid line/line mapping of loaded image (II)
  5. Message-ID: <01GTY2NC9YHC000V2L@BGERUG51.BITNET>
  6. Date: 25 Jan 93 17:53:00 GMT
  7. Sender: daemon@ucbvax.BERKELEY.EDU
  8. Distribution: inet
  9. Organization: The Internet
  10. Lines: 26
  11.  
  12. Dear Xperts,
  13.  
  14. Thanks a lot to David (dbrooks@osf.org), Mark (mark@bhanu.andyne.on.ca) and
  15. gerrit (gerrit@xelion.n) for their suggestions on my "How to avoid line-per-
  16. line mapping of loaded image" problem. I think we "greenhorns" (parden the
  17. expression) are really privileged in having exports like them and others,
  18. coming up with information one couldn't possibly have gathered from books...
  19.   In fact, the experiments didn't take that long but I had few days off.
  20. Apparentlly, the pixmap isn't stored in the server (X11/R4 DecStation 5000/200),
  21. as a "ps -aux | grep ima" before and after the creation of the 512-512 pixmap
  22. reveals:
  23.  
  24.         USER       PID %CPU %MEM   SZ  RSS TT STAT   TIME COMMAND
  25.         vandamme  3566  0.0  3.7 1676 1252 p6 S      0:00 ima
  26.         vandamme  3566  3.2  5.5 2484 1860 p6 S      0:01 ima
  27.  
  28. As I destroyed the original image and matrix used to build up the
  29. pixmap from a file, I thought these figures should reflect the net pixmap
  30. difference. Anyway, if pixmaps are stored off-server why should one treat it as
  31. a precious resource. Sure, one could run out of main memory and swap space,
  32. but is that really all what there's to it?
  33.  
  34. Any suggestions or comments are welcom.
  35. ---
  36. Phil
  37. vandamme@nmr.rug.ac.be
  38.