On 5/4/2015 9:09 AM, Bruno Mannina wrote: > Yes ! it works !!! > > Scott perfect !!!! > > For my config 3g do not work, but 2g yes !
If you can't start Solr with a 3g heap, chances are that you are running a 32-bit version of Java. A 32-bit Java cannot go above a 2GB heap. A 64-bit JVM requires a 64-bit operating system, which requires a 64-bit CPU. Since 2006, Intel has only been providing 64-bit chips to the consumer market, and getting a 32-bit chip in a new computer has gotten extremely difficult. The server market has had only 64-bit chips from Intel since 2005. I am not sure what those dates look like for AMD chips, but it is probably similar. Running "java -version" should give you enough information to determine whether your Java is 32-bit or 64-bit. This is the output from that command on a Linux machine that is running a 64-bit JVM from Oracle: root@idxa4:~# java -version java version "1.8.0_45" Java(TM) SE Runtime Environment (build 1.8.0_45-b14) Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode) If you are running Solr on Linux, then the output of "uname -a" should tell you whether your operating system is 32 or 64 bit. Thanks, Shawn