# Variable memory size

**URL:** <https://discuss.elastic.co/t/variable-memory-size/7512>\
**Category:** Elasticsearch\
**Created:** [April 30, 2012, 10:32am UTC](https://discuss.elastic.co/t/variable-memory-size/7512 "2012-04-30T10:32:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ashu\_raikvar](https://avatars.discourse-cdn.com/v4/letter/a/3da27b/32.png) [@ashu\_raikvar](https://discuss.elastic.co/u/ashu_raikvar)\
**Post date:** [April 30, 2012, 10:32am UTC](https://discuss.elastic.co/t/variable-memory-size/7512/1 "2012-04-30T10:32:05Z")

</div>

HI,  
i am new to ES so my questions are dumb and simple.i indexed around  
4000 docs from database and i experimented with index size and number  
of documents indexed the Es head is showing variable result summary  
is down below  
1st run  
index\_name-movies1;index\_size=2.7mb;docs\_indexed=2345  
2nd run  
index\_name-movies2;index\_size=1.7mb;docs\_indexed=1700;  
my idea was to understand memory usage by indexing same data(from  
database).  
my question is why i am getting two different index\_size(both memory  
and doc wise) while indexing same data?

---

<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 1, 2012, 2:54pm UTC](https://discuss.elastic.co/t/variable-memory-size/7512/2 "2012-05-01T14:54:40Z")

</div>

Doesn't seem like oyu index the same amount of data...

On Mon, Apr 30, 2012 at 1:32 PM, ashu raikvar [ashu.raikvar@gmail.com](mailto:ashu.raikvar@gmail.com)wrote:

> HI,  
> i am new to ES so my questions are dumb and simple.i indexed around  
> 4000 docs from database and i experimented with index size and number  
> of documents indexed the Es head is showing variable result summary  
> is down below  
> 1st run  
> index\_name-movies1;index\_size=2.7mb;docs\_indexed=2345  
> 2nd run  
> index\_name-movies2;index\_size=1.7mb;docs\_indexed=1700;  
> my idea was to understand memory usage by indexing same data(from  
> database).  
> my question is why i am getting two different index\_size(both memory  
> and doc wise) while indexing same data?

---

<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:30am UTC](https://discuss.elastic.co/t/variable-memory-size/7512/3 "2017-07-06T03:30:27Z")

</div>

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


