# 8GB memory usage of browser - freezing

**URL:** <https://discuss.elastic.co/t/8gb-memory-usage-of-browser-freezing/72892>\
**Category:** Kibana\
**Created:** [January 26, 2017, 12:08pm UTC](https://discuss.elastic.co/t/8gb-memory-usage-of-browser-freezing/72892 "2017-01-26T12:08:44Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![wolframklug](https://avatars.discourse-cdn.com/v4/letter/w/ccd318/32.png) [@wolframklug](https://discuss.elastic.co/u/wolframklug)\
**Post date:** [January 26, 2017, 12:08pm UTC](https://discuss.elastic.co/t/8gb-memory-usage-of-browser-freezing/72892/1 "2017-01-26T12:08:44Z")

</div>

Kibana version: 5.1.2

Elasticsearch version: 5.1.2

Server OS version: Ubuntu AWS

Browser version:FFox 50.1

Browser OS version: MAC OS SIERRA 10.12

Steps to reproduce:  
This visual:  
{  
"title": "flows\_Bkup2",  
"type": "area",  
"params": {  
"shareYAxis": true,  
"addTooltip": true,  
"addLegend": true,  
"legendPosition": "right",  
"smoothLines": false,  
"scale": "linear",  
"interpolate": "linear",  
"mode": "stacked",  
"times": ,  
"addTimeMarker": false,  
"defaultYExtents": false,  
"setYExtents": false,  
"yAxis": {}  
},  
"aggs": [  
{  
"id": "1",  
"enabled": true,  
"type": "sum",  
"schema": "metric",  
"params": {  
"field": "FLOWS"  
}  
},  
{  
"id": "2",  
"enabled": true,  
"type": "terms",  
"schema": "segment",  
"params": {  
"field": "@timestamp",  
"size": 35000,  
"order": "asc",  
"orderBy": "\_term"  
}  
}  
],  
"listeners": {}  
}

Depending on high value for field "size"  
screen shot 2017-01-26 at 12 59 03

Errors in browser console (if relevant):  
Freezes, slow. Minimum takes 10 secs to load for every click  
PC uses 8GB Mem

 ![](https://us1.discourse-cdn.com/elastic/original/2X/9/9e74ba1f5765d55fa9386dceeb7892cd771eaefe.png)

---

<div class="post-metadata">

**Author:** ![shaunak](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shaunak/32/6643_2.png) [@shaunak](https://discuss.elastic.co/u/shaunak)\
**Post date:** [January 26, 2017, 2:16pm UTC](https://discuss.elastic.co/t/8gb-memory-usage-of-browser-freezing/72892/2 "2017-01-26T14:16:04Z")

</div>

Hi @wolframklug,

It looks like you have a very large number of x-axis buckets, which could be causing the memory issue you are seeing. I suspect your x-axis @timestamp interval is set to quite a high granularity. Could you try to make the interval use a lower granularity and see if that helps? So, for instance, if your interval is currently set to "Second", try changing it to "Minute" or "Hour".

Hope that helps,

Shaunak

---

<div class="post-metadata">

**Author:** ![wolframklug](https://avatars.discourse-cdn.com/v4/letter/w/ccd318/32.png) [@wolframklug](https://discuss.elastic.co/u/wolframklug)\
**Post date:** [January 26, 2017, 2:50pm UTC](https://discuss.elastic.co/t/8gb-memory-usage-of-browser-freezing/72892/3 "2017-01-26T14:50:26Z")

</div>

Hi Shaunak,  
I appreciate that we even get replies on this forum. GREAT!  
How can I set the granularity of the timestamp?

[cid:3D659FD1-C140-4F76-93FF-4777E8C49FD1@fritz.box]

 ![](https://us1.discourse-cdn.com/elastic/original/2X/8/8201176f5849391c812c8040d3f9c7a4bab8221b.png)

---

<div class="post-metadata">

**Author:** ![shaunak](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shaunak/32/6643_2.png) [@shaunak](https://discuss.elastic.co/u/shaunak)\
**Post date:** [January 26, 2017, 3:29pm UTC](https://discuss.elastic.co/t/8gb-memory-usage-of-browser-freezing/72892/4 "2017-01-26T15:29:56Z")

</div>

In the visualization editor form on the left hand side of the page, there is a "buckets" section. Under that you have an "X-Axis" section. From your first screenshot it looked like you had it configured to use a "Date Histogram" aggregation on the "@timestamp" field. When you are configuring this aggregation, there is another form field called "Interval". That is where you can control the granularity of @timestamp, like so:

 ![](https://us1.discourse-cdn.com/elastic/original/2X/4/47195ae9052a8a17e15dc64dcf554dc6df8ffe6e.png)

 ![](https://us1.discourse-cdn.com/elastic/original/2X/5/50af767a6d53c9583dc81f342c7a09fa8f89a24b.png)

---

<div class="post-metadata">

**Author:** ![wolframklug](https://avatars.discourse-cdn.com/v4/letter/w/ccd318/32.png) [@wolframklug](https://discuss.elastic.co/u/wolframklug)\
**Post date:** [January 26, 2017, 5:06pm UTC](https://discuss.elastic.co/t/8gb-memory-usage-of-browser-freezing/72892/5 "2017-01-26T17:06:51Z")

</div>

Turning it into a date histogram was a good suggestions.  
THX

---

<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:** [February 23, 2017, 5:07pm UTC](https://discuss.elastic.co/t/8gb-memory-usage-of-browser-freezing/72892/6 "2017-02-23T17:07:10Z")

</div>

Closed on February 23, 2017, 5:07pm UTC

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