mycli icon indicating copy to clipboard operation
mycli copied to clipboard

Memory leak while keeping connection

Open levey opened this issue 5 years ago • 5 comments

hi Team,

I was connecting to my DB server and forgot to exit. After a long night, the Python process consumed 300GB memory(although it's virtual memory) :(

Screen Shot 2020-02-10 at 10 08 51 AM

levey avatar Feb 11 '20 01:02 levey

What's the resident memory did it take? I think the virtual memory didn't tell anything.

FYI https://www.linuxatemyram.com/

laixintao avatar Feb 11 '20 02:02 laixintao

And what's your OS?

laixintao avatar Feb 11 '20 02:02 laixintao

@laixintao actually it took all of my resident memory. it's on macOS

levey avatar Feb 11 '20 07:02 levey

That's wired, do you still have the process? Can you try to perf the memory usage? Can this problem be reproduced?

laixintao avatar Feb 11 '20 09:02 laixintao

@laixintao I'll post here if it's reproduced.

levey avatar Feb 11 '20 09:02 levey