When trying to create a database from a folder of approximately 5000 collections (each containing between 200 and 500 files) the processed stopped after two hours with an error something like this:

Line too long for a single database {filename}  and {line number}.

The file itself looks ok, with a single tag in the referenced position.  What is the recommended procedure from here? 

All the best
Lars G Johnsen
National Library of Norway