﻿id,summary,reporter,owner,description,type,status,component,version,resolution,keywords,cc,guest,host
13647,Java XPCOM connector - Event memory leak,Max D,,"There seems to be a memory leak when retrieving events from Virtualbox when using the XPCOM Java connector.
This does not appear when using the WebServices connector.

OutOfMemory attached is a standalone class for both WS & XPCOM.
The class was compiled within a jar called oom-test.jar, and both WS & XPCOM jars were put in the same directory.

Classpath was adapated to switch between the bindings and vbox.ws property was use to switch at the test code level, and vbox.ws.host is used to specifiy the host for WS.

Commands to run the test on XPCOM & WS were as follow, ran from the directory were all jars are put.

XPCOM:

{{{
java -cp oom-test.jar:vboxjxpcom.jar -Xmx2M -Dvbox.home=/usr/lib/virtualbox OutOfMemory
}}}


WebServices

{{{
java -cp oom-test.jar:vboxjws.jar -Xms10M -Xmx40M -Dvbox.ws=1 -Dvbox.ws.host=localhost OutOfMemory
}}}

All code tested against 4.3.20 and similar behaviour is seen on 4.3.16",defect,closed,other,VirtualBox 4.3.20,obsolete,java xpcom webservices memory leak,,other,Linux
