@Test
@Ignore
public void testLargeFileRead() throws IOException, CsvParseException {

  try (BufferedReader reader = new BufferedReader(new InputStreamReader(
          new GZIPInputStream(
                  new URL("http://www.maxmind.com/download/worldcities/worldcitiespop.txt.gz").openStream()),
          StandardCharsets.UTF_8), 65536)) {
    long startTime = System.currentTimeMillis();
    long count = Csv.read(reader,
            new Csv.CsvHandler<Long>() {
      private long count = 0;
      @Override
      public void element(final CharSequence elem) {
        // do nothing, we are counting rows only
      }
      @Override
      public void endRow() {
        count++;
      }
      @Override
      public Long eof() {
        return count;
      }
    });
    LOG.debug("Line count is {} in {}", count, (System.currentTimeMillis() - startTime));
    Assert.assertEquals(3173959L, count);
  }
}