# ES ClassNotFoundException and others when low memory

**URL:** <https://discuss.elastic.co/t/es-classnotfoundexception-and-others-when-low-memory/7133>\
**Category:** Elasticsearch\
**Created:** [March 26, 2012, 8:38pm UTC](https://discuss.elastic.co/t/es-classnotfoundexception-and-others-when-low-memory/7133 "2012-03-26T20:38:43Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shane\_Witbeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shane_witbeck/32/2803_2.png) [@Shane\_Witbeck](https://discuss.elastic.co/u/Shane_Witbeck)\
**Post date:** [March 26, 2012, 8:38pm UTC](https://discuss.elastic.co/t/es-classnotfoundexception-and-others-when-low-memory/7133/1 "2012-03-26T20:38:43Z")

</div>

Getting the following when perhaps there is low available memory:

> <https://gist.github.com/digitalsanctum/2209474>

---

<div class="post-metadata">

**Author:** ![Shane\_Witbeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shane_witbeck/32/2803_2.png) [@Shane\_Witbeck](https://discuss.elastic.co/u/Shane_Witbeck)\
**Post date:** [March 26, 2012, 8:40pm UTC](https://discuss.elastic.co/t/es-classnotfoundexception-and-others-when-low-memory/7133/2 "2012-03-26T20:40:26Z")

</div>

This is perhaps also related to another post I just added:  
[https://groups.google.com/d/topic/elasticsearch/XPvo4RaO0FE/discussion](https://groups.google.com/d/topic/elasticsearch/XPvo4RaO0FE/discussion)

On Monday, March 26, 2012 4:38:43 PM UTC-4, Shane Witbeck wrote:

> Getting the following when perhaps there is low available memory:
> 
> [ES ClassNotFoundException and others when low memory · GitHub](https://gist.github.com/2209474)

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [March 27, 2012, 5:35pm UTC](https://discuss.elastic.co/t/es-classnotfoundexception-and-others-when-low-memory/7133/3 "2012-03-27T17:35:50Z")

</div>

There is a failure here, a TikaException meaning that something failed to  
parse or something. We serialize that failure over the wire to the  
transport client, but then it fails to deserialize because the Tika jars  
are probably not in the client classpath...., so you get a generic failure  
saying "something failed"

On Mon, Mar 26, 2012 at 10:38 PM, Shane Witbeck [shane@digitalsanctum.com](mailto:shane@digitalsanctum.com)wrote:

> Getting the following when perhaps there is low available memory:
> 
> [ES ClassNotFoundException and others when low memory · GitHub](https://gist.github.com/2209474)

---

<div class="post-metadata">

**Author:** ![Shane\_Witbeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shane_witbeck/32/2803_2.png) [@Shane\_Witbeck](https://discuss.elastic.co/u/Shane_Witbeck)\
**Post date:** [March 27, 2012, 5:50pm UTC](https://discuss.elastic.co/t/es-classnotfoundexception-and-others-when-low-memory/7133/4 "2012-03-27T17:50:31Z")

</div>

Sure enough! As soon as I added the Tika jars to the client I got a more  
usable exception:

> <https://gist.github.com/thesurlydev/2218321>

Thanks again kimchy,  
Shane

On Tuesday, March 27, 2012 1:35:50 PM UTC-4, kimchy wrote:

> There is a failure here, a TikaException meaning that something failed to  
> parse or something. We serialize that failure over the wire to the  
> transport client, but then it fails to deserialize because the Tika jars  
> are probably not in the client classpath...., so you get a generic failure  
> saying "something failed"
> 
> On Mon, Mar 26, 2012 at 10:38 PM, Shane Witbeck [shane@digitalsanctum.com](mailto:shane@digitalsanctum.com)wrote:
> 
> > Getting the following when perhaps there is low available memory:
> > 
> > [ES ClassNotFoundException and others when low memory · GitHub](https://gist.github.com/2209474)

---

<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 6, 2017, 3:34am UTC](https://discuss.elastic.co/t/es-classnotfoundexception-and-others-when-low-memory/7133/5 "2017-07-06T03:34:34Z")

</div>

Closed on July 6, 2017, 3:34am UTC


