Memory leak in Xvnc binary distribution 3.3.2 under Solaris 2 .5.1

Jeffrey_Franks@i-o.com Jeffrey_Franks "at" i-o.com
Tue, 08 Sep 1998 15:13:34 +0000


GSupp "at" aol.com wrote:

> The more viewers there are the more memory the server requires.  (and

> processor time) It's about 2.5MB per viewer, right?  This is normal and
      is

> aparent in all VNC server versions.



Yes of course.



However what I observed under Sun's proctool was that Xvnc process

had a memory leak that would not resolve. It just got bigger over time.
      Each

viewer that was added increased the slope of the memory leak. In other
      words,

the severity of the memory leak is related to the number of viewers. There
      was a

linear relationship of adding viewers and seeing the slope of the memory
      leak

increase. Of course this continues for about five hours under the test that
      I'm

running (graphics related oscillograph display) until the machine runs

out of memory and crashes Xvnc, at which time all viewers disappear because
      they

lost their server.



The memory leak is:

  * real

  * easy to replicate (any display with a fair amount of animation + Sun's
      proctool)

  * quantifiable under test using proctool set for Xvnc's pid + watch
      memory + show line display



I anyone working on this problem?










---------------------------------------------------------------------
The VNC mailing list     -   see http://www.orl.co.uk/vnc/intouch.html
---------------------------------------------------------------------