Re: garbage collection on models after use?

2009-03-11 Thread Crispin Wellington
That would be it! Thanks! Crispin On Wed, 2009-03-11 at 21:31 +1100, Malcolm Tredinnick wrote: > On Wed, 2009-03-11 at 08:13 +, Crispin Wellington wrote: > > Hello, > > > > I have a surprisingly simple bit of code, injecting data into a database > > via django's ORM. The "Hit" table has

Re: garbage collection on models after use?

2009-03-11 Thread Alex Gaynor
On Wed, Mar 11, 2009 at 5:31 AM, Malcolm Tredinnick < malc...@pointy-stick.com> wrote: > > On Wed, 2009-03-11 at 08:13 +, Crispin Wellington wrote: > > Hello, > > > > I have a surprisingly simple bit of code, injecting data into a database > > via django's ORM. The "Hit" table has 1.5 million

Re: garbage collection on models after use?

2009-03-11 Thread Malcolm Tredinnick
On Wed, 2009-03-11 at 08:13 +, Crispin Wellington wrote: > Hello, > > I have a surprisingly simple bit of code, injecting data into a database > via django's ORM. The "Hit" table has 1.5 million records. The problem > is, as the loop runs, more and more memory is consumed until my machine >