memory leak + pause when reading page