Xsgi & Memory (Was: Re: Memory leak ?) [message #5029] |
Mon, 11 September 1995 00:00 |
Frank J. �ynes
Messages: 17 Registered: February 1995
|
Junior Member |
|
|
Some additional info on the "memory leak problem":
Martin, you're absolutely right; restarting the X-server
frees the memory.
By using the swap manager tool I observer the following:
Fresh startup: Reserver by applications: 17 MB
Start IDL, display large image, terminate IDL.
Reserved by applications: 56 MB
All the time the swap manager says:
In use by applications: 0
(The figures are close to correct, give or take a few MB)
So, for some reason the Xserver reserver
(or causes IRIX to BELIEVE it reserves ?)
another 40 MB each time I start my application, but does not
catch that the application terminates and hence the memory should
no longer be reserved.
Note however that displaying the image with imgview does NOT
reserve memory between sessions. This might indicate that
there is a bad combination of a non-robust Xserver and IDL's way
of using X-resources.
But Martin experienced similar problems without using IDL,
so: SGI, don't blame it all on RSI, I do believe you play
a part in this mess too! :-)
--
/* Frank J. �ynes -------------------- (frank@spacetec.no) */
/* Spacetec a.s */
/* Prestvannveien 38, N-9005 Troms�, Norway */
/* Telephone : +47 77 68 45 00 Telefax: +47 77 65 58 59 */
/* (...with the bravery of being out of range!) */
|
|
|