@Test
public void testGeomemManyEntries() throws InterruptedException {

    System.out.println("maxMemory=" + Runtime.getRuntime().maxMemory()
            / 1048576 + "MB");
    Geomem<String, String> g = new Geomem<String, String>();
    System.gc();
    Thread.sleep(100);
    reportMemoryUsage();
    for (int i = 0; i < 10000; i++) {
        if (i % 1000 == 0) {
            System.out.println("count=" + i);
            reportMemoryUsage();
        }
        addRandomEntry(g);
    }
    reportMemoryUsage();
    System.gc();
    Thread.sleep(100);
    reportMemoryUsage();
    List<Info<String, String>> list = Lists.newArrayList(g.find(topLeftLat,
            topLeftLong, bottomRightLat, bottomRightLong, 0, 1000));
    System.out.println(list.size());
}