# Hardware spec

**URL:** <https://discuss.elastic.co/t/hardware-spec/169549>\
**Category:** Elasticsearch\
**Created:** [February 22, 2019, 9:59am UTC](https://discuss.elastic.co/t/hardware-spec/169549 "2019-02-22T09:59:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![csetzkorn](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/csetzkorn/32/41230_2.png) [@csetzkorn](https://discuss.elastic.co/u/csetzkorn)\
**Post date:** [February 22, 2019, 9:59am UTC](https://discuss.elastic.co/t/hardware-spec/169549/1 "2019-02-22T09:59:56Z")

</div>

I am using some C# code (NEST) to ingest 1.4 million documents. This run fine over night (chunk size 10 documents) but now stalled again after the ingestion of 228000-ish documents. I am getting:

[2019-02-22T09:36:30,942][INFO][o.e.m.j.JvmGcMonitorService] [BwAAiDl] [gc][65052] overhead, spent [258ms] collecting in the last [1s]

This is related to GC I believe and I am using:

-Xms10g  
-Xmx10g

I think my machine (windows VM) is too small in terms of spec. I was told that it can be scaled vertically. Is there an upper limit that Elastic Search can exploit in terms of memory (RAM)? What are good specs of windows machines? Should I just chose:

-Xms20g  
-Xmx20g

and how does this relate to actual memory? Thanks!

---

<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:** [March 22, 2019, 10:00am UTC](https://discuss.elastic.co/t/hardware-spec/169549/2 "2019-03-22T10:00:05Z")

</div>

Closed on March 22, 2019, 10:00am UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
