# Major problems running the server on my workstation

**URL:** <https://discuss.elastic.co/t/major-problems-running-the-server-on-my-workstation/7744>\
**Category:** Elasticsearch\
**Created:** [May 17, 2012, 4:26pm UTC](https://discuss.elastic.co/t/major-problems-running-the-server-on-my-workstation/7744 "2012-05-17T16:26:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Frank\_LaRosa](https://avatars.discourse-cdn.com/v4/letter/f/bc8723/32.png) [@Frank\_LaRosa](https://discuss.elastic.co/u/Frank_LaRosa)\
**Post date:** [May 17, 2012, 4:26pm UTC](https://discuss.elastic.co/t/major-problems-running-the-server-on-my-workstation/7744/1 "2012-05-17T16:26:42Z")

</div>

Hi,

I'm having some major problems running the server on my workstation for  
testing (my workstation is a Mac with 12GB of memory).

If I try to start the server via the service, it says "Waiting for  
Elasticsearch..." and then prints a series of dots. The server never  
starts. I find the following error in the service.log file:

"WrapperSimpleApp Error: Unable to locate the class  
org.elasticsearch.bootstrap.ElasticSearchF :  
java.lang.ClassNotFoundException:  
org.elasticsearch.bootstrap.ElasticSearchF"

I do not know what the missing class is or why it is missing. I installed  
everything according to the documentation.

If I try to start Elasticsearch without the service (bin/elasticsearch -f),  
it does start. However, the first time I try to do anything substantial,  
such as index a document, I get a "java.lang.OutOfMemoryError: Java heap  
space" error, and the server crashes. I tried increasing the memory  
allocation in the bin/service/elasticsearch.conf file, but this had no  
effect (which I assume is because I'm not launching it via the service).

I don't really need the service, I just need to get something running  
temporarily in order to do testing.

I could not find any information about any of these errors in the  
Elasticsearch documentation. Any help would be appreciated. Thanks.

Frank

---

<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:** [May 20, 2012, 8:00pm UTC](https://discuss.elastic.co/t/major-problems-running-the-server-on-my-workstation/7744/2 "2012-05-20T20:00:41Z")

</div>

Lets start from the service wrapper, what you do use the latest service  
wrapper with elasticsearch 0.18.x, the latest servicewrapper supports 0.19.

Regarding the OOM. When you run ES using the bin/elasticsearch script, all  
the memory and settings exists in the elasticsearch.in.sh file, not the  
servicewrapper one. By default though, the max memory is 1gb, so its  
strange that for indexing a single doc you get OOM. What exactly are you  
indexing?

On Thu, May 17, 2012 at 6:26 PM, Frank LaRosa [frank@studyblue.com](mailto:frank@studyblue.com) wrote:

> Hi,
> 
> I'm having some major problems running the server on my workstation for  
> testing (my workstation is a Mac with 12GB of memory).
> 
> If I try to start the server via the service, it says "Waiting for  
> Elasticsearch..." and then prints a series of dots. The server never  
> starts. I find the following error in the service.log file:
> 
> "WrapperSimpleApp Error: Unable to locate the class  
> org.elasticsearch.bootstrap.ElasticSearchF :  
> java.lang.ClassNotFoundException:  
> org.elasticsearch.bootstrap.ElasticSearchF"
> 
> I do not know what the missing class is or why it is missing. I installed  
> everything according to the documentation.
> 
> If I try to start Elasticsearch without the service (bin/elasticsearch  
> -f), it does start. However, the first time I try to do anything  
> substantial, such as index a document, I get a "java.lang.OutOfMemoryError:  
> Java heap space" error, and the server crashes. I tried increasing the  
> memory allocation in the bin/service/elasticsearch.conf file, but this had  
> no effect (which I assume is because I'm not launching it via the service).
> 
> I don't really need the service, I just need to get something running  
> temporarily in order to do testing.
> 
> I could not find any information about any of these errors in the  
> Elasticsearch documentation. Any help would be appreciated. Thanks.
> 
> Frank

---

<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:28am UTC](https://discuss.elastic.co/t/major-problems-running-the-server-on-my-workstation/7744/3 "2017-07-06T03:28:00Z")

</div>

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


