Small fix to limit the size of the in memory log to 1000 blocks to stop the log causing out of memory errors when running for long periods of time