On Jan 28, 2008, at 7:06 PM, Leonardo Santagada wrote:

On 28/01/2008, at 20:44, Alex Benjamen wrote:


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.

We use 10GB of ram in one of our solr installs. You need to make sure your java is 64 bit though. Alex, what does your java -version show? Mine shows

java version "1.6.0_03"
Java(TM) SE Runtime Environment (build 1.6.0_03-b05)
Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_03-b05, mixed mode)

And I run it with -mx10000m -ms5000m

Reply via email to