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
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.