The OS is checking that there is enough memory... add swap space:
http://www.nabble.com/Not-enough-space-to11423199.html#a11432978



On Thu, Sep 25, 2008 at 4:20 AM, sunnyfr <[EMAIL PROTECTED]> wrote:

>
> Hi,
> Any idea ?
>
> Sep 25 06:50:41 solr-test jsvc.exec[23286]: Sep 25, 2008 6:50:41 AM
> org.apache.solr.common.SolrException log SEVERE: java.io.IOException:
> Cannot
> run program "snapshooter": java.io.IOException: error=12, Cannot allocate
> memory
>
> My memory for java is
> JAVA_OPTS="-Xms6000m -Xmx6000m -XX:+UseParallelGC -XX:+AggressiveOpts
> -XX:NewRatio=5 -Xloggc:gc.log -XX:+PrintGCDetails -XX:+PrintGCTimeStamps"
>
> My memory is not that bad, I've 8Gb
> [EMAIL PROTECTED]:/# free -m
>             total       used       free     shared    buffers     cached
> Mem:          7998       7095        903          0          6        950
> -/+ buffers/cache:       6138       1860
> Swap:         2000        295       1705
>
> -------------------------------------------------------------------------------------------------------------
> Mem:   8190864k total,  7266832k used,   924032k free,     7280k buffers
> Swap:  2048248k total,   302244k used,  1746004k free,   974040k cached
>
>
>
> My cache is :
>   <filterCache
>      class="solr.LRUCache"
>      size="16384"
>      initialSize="4096"
>      autowarmCount="4096"/>
>
>   <!-- queryResultCache caches results of searches - ordered lists of
>         document ids (DocList) based on a query, a sort, and the range
>         of documents requested.  -->
>    <queryResultCache
>      class="solr.LRUCache"
>      size="16384"
>      initialSize="4096"
>      autowarmCount="1024"/>
>
>  <!-- documentCache caches Lucene Document objects (the stored fields for
> each document).
>       Since Lucene internal document ids are transient, this cache will not
> be autowarmed.  -->
>    <documentCache
>      class="solr.LRUCache"
>      size="4096"
>      initialSize="50000"
>      autowarmCount="4096"/>
>
> My index are quite big:
> [EMAIL PROTECTED]:/# ls -ll data/solr/book/data
> drwxr-xr-x 2 tomcat55 nogroup 8192 Sep 25 10:08 index
> drwxr-xr-x 2 root     root    4096 Sep 22 16:20 snapshot.20080922162058
>
>
>
> What would you reckon ?
> Thanks a lot guys,
>
> --
> View this message in context:
> http://www.nabble.com/Memory-error---snapshooter-help-tp19665074p19665074.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
>

Reply via email to