[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: x11vnc java error



> > 	With '-ncache 10' the java applet in your web browser will
> > 	probably run out of memory (unless the screen is small, -ncache
> > 	10 will require 50-100MB on both sides).  So drop the ncache
> > 	value or don't use the option.
> 
> I've tried it with and without. I have a 64-bit machine with 8GB of RAM,
> so I'm not too worried about memory consumption, but I'm currently
> running without ncache for testing purposes.

What I meant is that the JVM may throw an exception when it goes over
its memory limit.  This limit is probably tunable somewhere (but I don't
know where).  From the Java console in firefox with -ncache 10:

  Exception in thread "Thread-6" java.lang.OutOfMemoryError: Java heap space
  urlPrefix: ''
  SecurityManager restricts session recording.
  Initializing...
  Connecting to localhost, port 5900...
  Connected to server
  RFB server supports protocol version 3.8
  Using RFB protocol version 3.7
  No authentication needed
  Desktop name is haystack:0
  Desktop size is 1920 x 14400
  Exception in thread "Thread-7" java.lang.OutOfMemoryError: Java heap space


Reply to: