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