# Large dataset: No node exception

**URL:** <https://discuss.elastic.co/t/large-dataset-no-node-exception/183871>\
**Category:** Elasticsearch\
**Created:** [June 2, 2019, 9:15pm UTC](https://discuss.elastic.co/t/large-dataset-no-node-exception/183871 "2019-06-02T21:15:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Star1](https://avatars.discourse-cdn.com/v4/letter/s/7c8e57/32.png) [@Star1](https://discuss.elastic.co/u/Star1)\
**Post date:** [June 2, 2019, 9:15pm UTC](https://discuss.elastic.co/t/large-dataset-no-node-exception/183871/1 "2019-06-02T21:15:59Z")

</div>

I am running Elasticsearch 5.4.1 with a java client(1.8) which uses the API to make Elasticsearch calls. It is on a Mac. I have a large number of documents which I have to search on / insert/ and merge on. (~ 8000 documents)

I get this exception

```auto
None of the configured nodes are available: [{#transport#-1}{gNzkHZmURzaabE336I-T4w}{localhost}{127.0.0.1:9300}]

```

The thing is, it works with a smaller number of entries (e.g. 4000 documents). So the connection seems to be going down for some reason? Should I allocate more memory/ use more nodes to it? Is there some weird garbage collection going on?

According to the activity monitor for the Mac, memory pressure is fine.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [June 3, 2019, 4:49am UTC](https://discuss.elastic.co/t/large-dataset-no-node-exception/183871/2 "2019-06-03T04:49:51Z")

</div>

You should use the Rest Client instead.  
What happens if you run the same query from the Kibana dev console?

May be you have too big documents?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 1, 2019, 4:49am UTC](https://discuss.elastic.co/t/large-dataset-no-node-exception/183871/3 "2019-07-01T04:49:54Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
