# How to avoid memory swap on windows server?

**URL:** <https://discuss.elastic.co/t/how-to-avoid-memory-swap-on-windows-server/19273>\
**Category:** Elasticsearch\
**Created:** [August 13, 2014, 11:19pm UTC](https://discuss.elastic.co/t/how-to-avoid-memory-swap-on-windows-server/19273 "2014-08-13T23:19:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andrew\_Gui](https://avatars.discourse-cdn.com/v4/letter/a/48db29/32.png) [@Andrew\_Gui](https://discuss.elastic.co/u/Andrew_Gui)\
**Post date:** [August 13, 2014, 11:19pm UTC](https://discuss.elastic.co/t/how-to-avoid-memory-swap-on-windows-server/19273/1 "2014-08-13T23:19:00Z")

</div>

From elasticsearch's website(  
_[http://www.elasticsearch.org/guide/en/elasticsearch/referenc…](http://www.elasticsearch.org/guide/en/elasticsearch/referenc%E2%80%A6)_  
[http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/setup-configuration.html](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/setup-configuration.html)),  
it recommends to disable memory swapping for better performance . But the  
approaches are for Linux only. We are planning to run the elasticsearch on  
Windows servers. Can we simply disable the page file on Windows? Any tips  
how to do this?

--  
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/392e286b-7881-448e-828b-1f33091b2681%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/392e286b-7881-448e-828b-1f33091b2681%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, 1:08am UTC](https://discuss.elastic.co/t/how-to-avoid-memory-swap-on-windows-server/19273/2 "2017-07-06T01:08:44Z")

</div>


