Vncserver memory usage
Corne Beerse
cbeerse "at" gmail.com
Wed Feb 21 13:47:01 2007
Gupta, Pankaj G wrote:
>Thanks for the reply.
>
>Does it mean that at least I create 100 vncserver easily ( 1280 x 1024
>with full color) in a 500 MB server.
>
>
NO! For the display memory only, the use is 4 * 1280 * 1024 = 5242880
Bytes = 5120 KBytes = 5 MBytes. This is used for the display memory
only. Xvnc (the binary started from vncserver) also needs space for its
binary and other variables. It incorporates a complete X11 server.
If you start vncserver, it starts a tiny window manager that also uses
some memory. In there, you most likely want to do something so you might
want to start an application. The windowmanager and other applications
do need their space too.
>-Pankaj
>
>-----Original Message-----
>From: Corne Beerse [mailto:cbeerse "at" gmail.com]
>Sent: Wednesday, February 21, 2007 4:02 PM
>To: Gupta, Pankaj G
>Cc: vnc-list "at" realvnc.com
>Subject: Re: Vncserver memory usage
>
>Gupta, Pankaj G wrote:
>
>
>
>>Hi,
>>
>>I want to know how much a vncserver process usage of memory? How can i
>>measure that? Is it same on Solaris? Can vnc server affect other system
>>
>>
>
>
>
>>processes if memory usage is high? or in another way?
>>
>>
>>
>>
>On m$windows machines and unix machines where it forwards the console,
>vncserver is relative small since its main job is to read the display
>memory and forward that to the viewer.
>
>On unix machines, where vnc provides a fresh display, the display memory
>is entirely in program memory. Then it is a complete (however minimal)
>X11 server so it is definitly larger. For 1024 x 768 pixels and 8 bits
>colordepth, I'd say it uses a megabyte memory. With 1280 x 1024 and
>fullcolor, it uses more than 5 MByte for the display memory only. Since
>it is a complete new display, you must add all programs that make the
>session like the desktop manager (kde, gnome, cde), the window manager
>and such. They also have their footprint which might be based on the
>display size and colordepth.
>
>
>
>>Lot's of question because this is my first mail to the group and i am
>>the newest member.. i guess ;-)
>>
>>
>>
>>
>
>Just read the list, and if you have a question: one question per message
>and a clear subject.
>
>CBee