Open
Description
Describe the bug
Basically take 4 DataFrames each with 200 rows and 3 columns and start merging them in a loop and by the 3rd iteration the memory footprint balloons to over 4GB. At that point many runtimes kill the application including the Excel one where I was attempting to do this.
To Reproduce
Steps to reproduce the behavior:
- Create 4 DataFrames with 200 rows each, and 3 columns with a datetime index.
- Merge on the datetime column with how: 'outer'
- The memory footprint increases exponentially loop by loop.
Expected behavior
It should not crash from a 200 record merge and the footprint should be linear.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: [e.g. iOS] Windows
- Browser [e.g. chrome, safari] Excel runtime(Edge)
- Version [e.g. 22] No idea... internal to Excel
Additional context
The reason I tried to make this work is to avoid having to write a merge sort manually. :( JS is not my strong suite.