Skip to content

Big Memory Leak / Retained Memory  #809

@Fabbok1x

Description

@Fabbok1x

When unmounting, and mounting the MUIDataTable, using
https://codesandbox.io/embed/q8w3230qpj?autoresize=1&hidenavigation=1
about 1.3 mb of memory is not free'd. This is problematic despite one-page apps and multiple mounts and unmounts.

This image illustrates the issue:
https://i.imgur.com/zLAdUbi.png

This is a look at the FiberNodes:
https://i.imgur.com/UwZelkZ.png

Each peak is one mount (with a previous unmount).

tableRef seems to play a role in the memory retaining.

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs verificationFor issues that can't be reproduced or are otherwise unclear

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions