.line("<blueprint xmlns=\"http://www.osgi.org/xmlns/blueprint/v1.0.0\">")
.line("<reference interface=\"java.util.List\" />")
.line("</blueprint>").end().end();
ByteArrayOutputStream bout = new ByteArrayOutputStream();
jar.writeOut(bout);
Bundle b = bundleContext.installBundle("test.bundle", new ByteArrayInputStream(bout.toByteArray()));
for (int i=0; i<16; i++) System.gc();
long startFreeMemory = Runtime.getRuntime().freeMemory();