It seems that soon after we start pulling data, the LOG.NSF file corrupts. This then seems to halt and crash the NotesSQL driver, which in turn halts our log collection. Since we didn't complete reading the logs successfully, we have to start again. The more we try to use NotesSQL, the more it memory leaks, until it's using 400Mb of RAM.
I assume the memory leaks are caused by the attempt to read the corrupt database - once it's corrupt, trying to open it inside Notes also gives an Out of Memory error.
The question is: is it likely to be NotesSQL that's corrupting LOG.NSF, or something else. And if it is, is there a version that's known to work??