Hi Atle,
Do you have an idea what the approximate size of the largest chunks of
data is that you use as keys or values? Do you bundle up multiple large
key-value pairs in a single insert group?
According to the stack trace, the system runs out of memory when trying
to replay the database log on startup. The only possible reason for this
I can think of is that the log contains a huge log entry that does not
fit in memory.
The buffer stats indicate that at least one large buffer (> 2M) was
allocated before:
INFO | jvm 1 | 2009/12/09 11:50:39 | unpooled (> 2097152)
numRequests = creates = 1 deletes = 0
Have you tried to increase the memory made available to you application
(e.g. via 'java -Xmx2G ...')? Another possible workaround might be to
reduce the size of your records/insert groups at application level.
Unless the error turns out to come from a bug in BabuDB, I don't see a
general solution at BabuDB level.
Best regards,
Jan