Application error in mapreduce_nif.dll
Hi,
Our couchbase setup has been quite unstable when it comes to creating and updating views. The last time we created a view in a bucket with about ~3 million items, we ended up blowing away the whole install and re-doing it. This time we updated another view in a different bucket with far less number of items (~10k), and the whole service is down again!
I'm not sure what we are doing wrong here; it is the default install with no other servers in the cluster. About 80% of system memory is allotted to couchbase and the setup has 3 buckets. The view was updated to include a reduce function.
Here are some details of the crash reported in the event viewer:
Faulting application name: erl.exe, version: 0.0.0.0, time stamp: 0x4e8a0dd4
Faulting module name: mapreduce_nif.dll, version: 0.0.0.0, time stamp: 0x50c02f71
Exception code: 0xc0000005
Fault offset: 0x00005510
Faulting process id: 0x7a8
Faulting application start time: 0x01cdf239022f4e1e
Faulting application path: C:\Program Files\Couchbase\Server\erts-5.8.5\bin\erl.exe
Faulting module path: c:\PROGRA~1\COUCHB~1\Server\lib\mapreduce-1.0\priv\mapreduce_nif.dll
Is there any way we can recover from such errors? Also, what can be done to improve the stability of the setup?
Regards,
Vimal
I am not that familiar with Windows, but looking around for details on that exception code, I found this useful:
http://www.sevenforums.com/crashes-debugging/206575-explorer-exe-frequen...
Seems that it can be related to bad ram memory.
Also, it would be more helpful if you could provide:
1) The source of the exact reduce and map functions (or the entire design documents);
2) Give some sample documents (if possible);
3) Server logs, from all nodes.
Finally how much memory does your system has? (you've mentioned only the relative memory allocated for couchbase)