Closed luizpvas closed 10 years ago
from the stacktrace, it seems like you are running out of memory (indicated by java.lang.OutOfMemoryError: Map failed)
Is there a minimum amount of memory needed to run EventHub? Shouldn't it grow as more events are added? This error occurs when I try to add the first one.
I should have made it clearer. EventHub doesn't use that much memory but instead it is using memory mapped file to write data to disk. Though I haven't got a chance to really trace the code, I believe the error message is trying to say that based on the current configuration, the system is trying to allocate a memory mapped file that's larger than 4G and since the file is larger than 4G, it cannot be memory mapped.
Hum... I see. Thanks for the answer! I was able to run EventHub just fine on a 64-bit Windows 7 and in a 64-bit Linux VM. I'm guessing it's an issue with 32bit OS then.
Hey guys, sorry to bother, but I can't seem to find why EventHub is failing to add an event. Everything compiles, passes the test units and initialize the server. (Linux Mint 17, 32 bit) The CURL command was the same in the readme
Full error message: