handsontable / hyperformula

HyperFormula is an open-source headless spreadsheet for business web apps. It comes with over 400 formulas, CRUD operations, undo-redo, clipboard support, and sorting.
https://hyperformula.handsontable.com/
Other
1.99k stars 110 forks source link

Memory leaks in unit tests #927

Open sequba opened 2 years ago

sequba commented 2 years ago

Description

When running unit tests we can see that the heap size increases with every spec file. There must be a memory leak somewhere. It might be related to the way unit tests are written but we cannot be sure that the production code is OK. Needs investigation.

image image

Steps to reproduce

  1. Run unit tests with heap size analysis
    jest --runInBand --logHeapUsage
sequba commented 2 years ago

image