NovFora Dev

[Question] Need help debugging a Python memory leak with pandas -- DataFrame keeps growing after drop()

Taylor Davis

Taylor Davis

3 months ago

I'm processing 50GB of CSV data in batches, but my process RSS climbs from 800MB to 12GB over an hour despite using .drop(inplace=True) and del df. Could be reference counting issue or C-level cache retention -- any specific garbage collection flags or tools you'd recommend for pinpointing which object isn't being freed?

Join the conversation to leave a reply.

Sign in to reply

Related topics