# How many memory is require (win7 64bit)?

**URL:** <https://discuss.elastic.co/t/how-many-memory-is-require-win7-64bit/22384>\
**Category:** Elasticsearch\
**Created:** [February 25, 2015, 1:43pm UTC](https://discuss.elastic.co/t/how-many-memory-is-require-win7-64bit/22384 "2015-02-25T13:43:50Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![jan99](https://avatars.discourse-cdn.com/v4/letter/j/d78d45/32.png) [@jan99](https://discuss.elastic.co/u/jan99)\
**Post date:** [February 25, 2015, 1:43pm UTC](https://discuss.elastic.co/t/how-many-memory-is-require-win7-64bit/22384/1 "2015-02-25T13:43:50Z")

</div>

Hi !

i want to use elasticsearch for a company wiki an my machine is win7 64bit  
with 8GB Ram.

know i want to start like service. i stopped the current elasticsearch.bat  
and call service.bat by kontextmenue _start as admin_

i get the message that the command is unable to start because there is not  
enough memory.

my machine to small or is there a possiblity to define a special parameter?

reagards Jan

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/b2a8893f-d730-41cc-b833-f1ef82a93f98%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/b2a8893f-d730-41cc-b833-f1ef82a93f98%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![jan99](https://avatars.discourse-cdn.com/v4/letter/j/d78d45/32.png) [@jan99](https://discuss.elastic.co/u/jan99)\
**Post date:** [February 25, 2015, 1:45pm UTC](https://discuss.elastic.co/t/how-many-memory-is-require-win7-64bit/22384/2 "2015-02-25T13:45:57Z")

</div>

If i start elasticsearch-service-x64.exe the window will show and hide in  
the next moment !

reagards Jan

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/70962568-1571-4ca2-9307-e9f0126ec509%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/70962568-1571-4ca2-9307-e9f0126ec509%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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:** [February 25, 2015, 2:15pm UTC](https://discuss.elastic.co/t/how-many-memory-is-require-win7-64bit/22384/3 "2015-02-25T14:15:22Z")

</div>

Did you set any memory settings for the JVM HEAP?  
If so, you might have forgotten to add m or g after the size. Like ES\_HEAP\_SIZE=1024 instead of 1024m

--  
David Pilato | Technical Advocate | [Elasticsearch.com](http://Elasticsearch.com)  
@dadoonet [https://twitter.com/dadoonet](https://twitter.com/dadoonet) | @elasticsearchfr [https://twitter.com/elasticsearchfr](https://twitter.com/elasticsearchfr) | @scrutmydocs [https://twitter.com/scrutmydocs](https://twitter.com/scrutmydocs)

> Le 25 févr. 2015 à 14:45, jan99 [jan@tappenbeck.net](mailto:jan@tappenbeck.net) a écrit :
> 
> If i start elasticsearch-service-x64.exe the window will show and hide in the next moment !
> 
> reagards Jan
> 
> --  
> You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com) [mailto:elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/70962568-1571-4ca2-9307-e9f0126ec509%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/70962568-1571-4ca2-9307-e9f0126ec509%40googlegroups.com) [https://groups.google.com/d/msgid/elasticsearch/70962568-1571-4ca2-9307-e9f0126ec509%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/70962568-1571-4ca2-9307-e9f0126ec509%40googlegroups.com?utm_medium=email&utm_source=footer).  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout) [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/8A80859B-0A0B-4549-B7EC-AA17734661B3%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/8A80859B-0A0B-4549-B7EC-AA17734661B3%40pilato.fr).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![jan99](https://avatars.discourse-cdn.com/v4/letter/j/d78d45/32.png) [@jan99](https://discuss.elastic.co/u/jan99)\
**Post date:** [February 25, 2015, 2:21pm UTC](https://discuss.elastic.co/t/how-many-memory-is-require-win7-64bit/22384/4 "2015-02-25T14:21:01Z")

</div>

HI !

i did not set anything like this !

_Did you set any memory settings for the JVM HEAP?_

where did i add this parameter - did you have a link?

_If so, you might have forgotten to add m or g after the size. Like  
ES\_HEAP\_SIZE=1024 instead of 1024m_

no i did !

regards Jan

Am Mittwoch, 25. Februar 2015 14:43:50 UTC+1 schrieb jan99:

> Hi !
> 
> i want to use elasticsearch for a company wiki an my machine is win7 64bit  
> with 8GB Ram.
> 
> know i want to start like service. i stopped the current elasticsearch.bat  
> and call service.bat by kontextmenue _start as admin_
> 
> i get the message that the command is unable to start because there is not  
> enough memory.
> 
> my machine to small or is there a possiblity to define a special parameter?
> 
> reagards Jan

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/4e696b9f-8fff-4f5e-ac1d-e9311232616f%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/4e696b9f-8fff-4f5e-ac1d-e9311232616f%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![jan99](https://avatars.discourse-cdn.com/v4/letter/j/d78d45/32.png) [@jan99](https://discuss.elastic.co/u/jan99)\
**Post date:** [February 25, 2015, 3:04pm UTC](https://discuss.elastic.co/t/how-many-memory-is-require-win7-64bit/22384/5 "2015-02-25T15:04:53Z")

</div>

Hi !

current i found the side:  
[http://www.elasticsearch.org/guide/en/elasticsearch/guide/current/heap-sizing.html](http://www.elasticsearch.org/guide/en/elasticsearch/guide/current/heap-sizing.html)

so i define a windows environment variable called ES\_HEAP\_SIZE = 1024

now i started the service.bat - but there is no success!

no service will installed !

when i try to elasticsearch-service-x64 via start as ... in the contextmenü  
the window will open and close !

and now?

regards jan

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/5630bce5-2324-49a9-abbf-e495f83e97f5%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/5630bce5-2324-49a9-abbf-e495f83e97f5%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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:** [February 25, 2015, 3:39pm UTC](https://discuss.elastic.co/t/how-many-memory-is-require-win7-64bit/22384/6 "2015-02-25T15:39:47Z")

</div>

I guess that you did this? [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/_installation.html) [http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/\_installation.html](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/_installation.html)  
Is that right?

Then you tried this?

[Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/setup-service-win.html) [http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/setup-service-win.html](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/setup-service-win.html)

If not, please do.  
If yes, please describe which exact step does not work as expected.

--  
David Pilato | Technical Advocate | [Elasticsearch.com](http://Elasticsearch.com)  
@dadoonet [https://twitter.com/dadoonet](https://twitter.com/dadoonet) | @elasticsearchfr [https://twitter.com/elasticsearchfr](https://twitter.com/elasticsearchfr) | @scrutmydocs [https://twitter.com/scrutmydocs](https://twitter.com/scrutmydocs)

> Le 25 févr. 2015 à 16:04, jan99 [jan@tappenbeck.net](mailto:jan@tappenbeck.net) a écrit :
> 
> Hi !
> 
> current i found the side: [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/guide/current/heap-sizing.html) [http://www.elasticsearch.org/guide/en/elasticsearch/guide/current/heap-sizing.html](http://www.elasticsearch.org/guide/en/elasticsearch/guide/current/heap-sizing.html)
> 
> so i define a windows environment variable called ES\_HEAP\_SIZE = 1024
> 
> now i started the service.bat - but there is no success!
> 
> no service will installed !
> 
> when i try to elasticsearch-service-x64 via start as ... in the contextmenü the window will open and close !
> 
> and now?
> 
> regards jan
> 
> --  
> You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com) [mailto:elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/5630bce5-2324-49a9-abbf-e495f83e97f5%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/5630bce5-2324-49a9-abbf-e495f83e97f5%40googlegroups.com) [https://groups.google.com/d/msgid/elasticsearch/5630bce5-2324-49a9-abbf-e495f83e97f5%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/5630bce5-2324-49a9-abbf-e495f83e97f5%40googlegroups.com?utm_medium=email&utm_source=footer).  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout) [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/1B93D9F6-F336-4585-848C-0CA59593D62C%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/1B93D9F6-F336-4585-848C-0CA59593D62C%40pilato.fr).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![jan99](https://avatars.discourse-cdn.com/v4/letter/j/d78d45/32.png) [@jan99](https://discuss.elastic.co/u/jan99)\
**Post date:** [February 26, 2015, 7:32am UTC](https://discuss.elastic.co/t/how-many-memory-is-require-win7-64bit/22384/7 "2015-02-26T07:32:48Z")

</div>

Hi !

now the service runs ! my problem is to start service correct !!!

yesterday i only call "service.bat"

today: service.bat install !!

service will install and i am able to start the service via dialog.

now i go to the next steps ....

regards jan 🙂

Am Mittwoch, 25. Februar 2015 14:43:50 UTC+1 schrieb jan99:

> Hi !
> 
> i want to use elasticsearch for a company wiki an my machine is win7 64bit  
> with 8GB Ram.
> 
> know i want to start like service. i stopped the current elasticsearch.bat  
> and call service.bat by kontextmenue _start as admin_
> 
> i get the message that the command is unable to start because there is not  
> enough memory.
> 
> my machine to small or is there a possiblity to define a special parameter?
> 
> reagards Jan

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/b50e19f5-a047-40ef-9688-3f6f16e014bc%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/b50e19f5-a047-40ef-9688-3f6f16e014bc%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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, 12:29am UTC](https://discuss.elastic.co/t/how-many-memory-is-require-win7-64bit/22384/8 "2017-07-06T00:29:57Z")

</div>


