High cpu load even when Java database client is idle
I am using the Java „Release 1.1 Developer Preview“ library to connect to Couchbase 2.0 preview 3. All is working fine, including view access. However as soon as I connect to the database one core on my quad core Mac with Lion goes up to 100% cpu load.
This is enough to demonstate it:
ArrayList baseURIs = new ArrayList();
couchbaseClient = new CouchbaseClient(baseURIs, "default", "");
Scanner scanner = new Scanner(System.in);
String input = scanner.next();
"default" is the only bucket in the server and I am using just one node. After entering input the cpuload is going down to 0% again.
I have added those jars to my build path:
My problem looks similar to this one here:
Any solution for this?
PS: A small add on as this might be related. Suddenly the server also gets 100-150% cpuload (beam.smp) right from the start, even without any client access at all. Is there already a schedule for a new developer preview release?