Opened 14 years ago

Closed 14 years ago

#15186 closed (duplicate)

dumpdata needs to load whole tables into memory to dump them

Reported by: Wraithan <xwraithanx@…> Owned by: nobody
Component: Core (Serialization) Version: 1.2
Severity: Keywords: dumpdata
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

I was attempting to use dumpdata to dump a 2mil row table so I could import it into another database, when it got to using over 20G of RAM I had to kill it.

The docs should state that it will need to load the whole table and wont serialize as it goes, or dumpdata needs to incrementally write so it doesn't need all the data in memory.

Change History (1)

comment:1 by Ramiro Morales, 14 years ago

Resolution: duplicate
Status: newclosed

Duplicate of #5423. Please test the latest patch attached there and report back your experiences.

Note: See TracTickets for help on using tickets.
Back to Top