On 28/01/2008, at 20:44, Alex Benjamen wrote:
Note: I have browsed, searched the forums for this error and followed the most common advice of
increasing the memory allocation for the JVM:
/usr/bin/java -DSTOP.PORT=8805 -DSTOP.KEY=solrstop -Xmx3584M - Xms1024M -jar start.jar

[snip]

I could allocate more physical memory, but I can't seem to increase the -Xmx option to 3800 I get an error : "Could not reserve enough space for object heap", even though I have more than 4Gb free. (We're running on Intel quad core 64bit) When I try strace I'm seeing mmap2 errors.


I don't know much about java... but can you get any program to map more than 4gb of memory? I know windows has hard limits on how much memory you can map to one process and linux I think has some limit too. Of course it can be configured but maybe it is just a system configuration problem.

But still there should be a way to tell jetty to only have a certain amount of threads/process/requests at a time, so you never risk the problem of getting out of memory problems.

--
Leonardo Santagada

Reply via email to