Material-table: Memory leak

Created on 26 Nov 2020  路  7Comments  路  Source: mbrn/material-table

Hello! Can you tell me if someone has a memory leak on versions higher than 1.67? I updated to 1.69 and noticed that if a page with a table is rendered several times, it will be a memory leak. I started downgrading versions and realized that it wasn't happening, like, at 1.67.

question

Most helpful comment

Hey,

Same here. Huge leak which after few clicks freeze the browser

Passing directly the array to the prop 'columns' seems to be alright, but otherwise with dynamic columns there is a leak

All 7 comments

Yup, it might be related to this https://github.com/mbrn/material-table/issues/2643#issuecomment-734046369

@hburbano , thank you! I will keep an eye on this bug.

Hi,

Yes if i am not wrong for me starts happening after 1.66.0, just tried the latest version and the bug is still there.
And happens pretty fast. 2 clicks is enough

Hey,

Same here. Huge leak which after few clicks freeze the browser

Passing directly the array to the prop 'columns' seems to be alright, but otherwise with dynamic columns there is a leak

@MathieuCh thank you very very you solved my problem which I wasted like 30 hours in 2 weeks. See https://github.com/mbrn/material-table/issues/2643
As mentioned by @hburbano the DataManager still needs bugfix: https://github.com/mbrn/material-table/blob/b7474ca0f5497f04ff3a3d50e709d86de7c639b0/src/utils/data-manager.js#L62

Hello! Can you tell me if someone has a memory leak on versions higher than 1.67? I updated to 1.69 and noticed that if a page with a table is rendered several times, it will be a memory leak. I started downgrading versions and realized that it wasn't happening, like, at 1.67.

Same here, spent whole day to figure out that it was caused by material-table. Have to roll back to 1.57.

Saw memory leaks (switching between routes with material-table and non table, after 10 times or so saw tab memory usages at 1gb and unresponsive) with latest build 1.69.1.
I can't replicated with 1.67

Was this page helpful?
0 / 5 - 0 ratings

Related issues

victorwvieira picture victorwvieira  路  3Comments

Mihier-Roy picture Mihier-Roy  路  3Comments

kfirshahar picture kfirshahar  路  3Comments

KKrisu picture KKrisu  路  3Comments

behrouz-s picture behrouz-s  路  3Comments