Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Potential memory leak #7

Open
cakiki opened this issue Feb 19, 2024 · 2 comments
Open

Potential memory leak #7

cakiki opened this issue Feb 19, 2024 · 2 comments

Comments

@cakiki
Copy link

cakiki commented Feb 19, 2024

Not sure whether I'm doing anything wrong (Will have more time to investigate later this week) but when I create a datamapplot from a ~205K dataset it consumes memory (between 40 and 50GB in my usecase) that it never releases, such that a second run of the same command causes an OOM.

@lmcinnes
Copy link
Contributor

Ouch! That sounds pretty bad. Was it a static plot, or an interactive plot? I can't think of anything in the static plotting code that would hold memory like that; possibly the matplotlib figure in some cases? If you can share a reproducer that would be appreciated.

@cakiki
Copy link
Author

cakiki commented Feb 19, 2024

It was a static plot, and I was not assigning fig and ax to variables. I'll try to see if I can figure out what's happening, if not, I'll share a script to reproduce!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants