- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
How to solve buffer memory issue in Solr
- Labels:
-
Apache Solr
Created ‎07-20-2016 10:05 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Team,
When I am creating collection with two shards and 2 replication then I am getting buffer memory issue. So can you please help me how to increasing it or by setting other property.
[solr@m1 solr]$ /opt/lucidworks-hdpsearch/solr/bin/solr create -c test -d /opt/lucidworks-hdpsearch/solr/server/solr/configsets/data_driven_schema_configs_hdfs/conf -n test -s 2 -rf 2
Connecting to ZooKeeper at m1.hdp22:2181,m2.hdp22:2181,w1.hdp22:2181
Uploading /opt/lucidworks-hdpsearch/solr/server/solr/configsets/data_driven_schema_configs_hdfs/conf for config test to ZooKeeper at m1.hdp22:2181,m2.hdp22:2181,w1.hdp22:2181
Creating new collection 'test' using command:
{
"responseHeader":{
"status":0,
"QTime":4812},
"failure":{"":"org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException:Error from server at http://192.168.56.41:8983/solr: Error CREATEing SolrCore 'test_shard1_replica1': Unable to create core [test_shard1_replica1] Caused by: Direct buffer memory"},
"success":{"":{
"responseHeader":{
"status":0,
"QTime":4659},
"core":"test_shard2_replica1"}}}
Created ‎07-21-2016 07:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have solved it by setting up <boolname="solr.hdfs.blockcache.direct.memory.allocation">false</bool> in solrconfig.xml file.
Created ‎07-21-2016 07:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have solved it by setting up <boolname="solr.hdfs.blockcache.direct.memory.allocation">false</bool> in solrconfig.xml file.
