print memory usage and increase timeout