> Tonight I ran a test which added (tried to) 100.000 small (30kB)
> documents to a single collection. This resulted in a
The error has nothing to do with the collection size. The only part of
eXist using java.nio is the journal manager. It indeed has a 512K
buffer for the journal log messages and it seems that in your case
some log event is trying to write beyond the buffer boundaries. We
will need to reproduce that.