Re: [Fwd: Memory leaks]

2007-09-12 Thread Jamie
> I've got some time for testing and results are that without DEBUG is no > memory overhead. But I still wonder that if I delete connection.queries > in every cycle, why memory consumption still grows. What other > structures are created in DEBUG mode? Simple 'grep DEBUG' showed nothing > really i

Re: [Fwd: Memory leaks]

2007-09-09 Thread Tomas Kopecek
Tomas Kopecek napsal(a): > Honza Král napsal(a): >> On 9/9/07, Tomas Kopecek <[EMAIL PROTECTED]> wrote: >>> Honza Kr�l napsal(a): can you replicate this with DEBUG=False in your settings? without DEBUG turned on, no queries will be saved. I very much doubt that all these sites

Re: [Fwd: Memory leaks]

2007-09-09 Thread Tomas Kopecek
Honza Král napsal(a): > can you replicate this with DEBUG=False in your settings? > > without DEBUG turned on, no queries will be saved. I very much doubt > that all these sites built on Django are either leaking memory or not > using large quantities of objects like this one here. I've got some

Re: [Fwd: Memory leaks]

2007-09-09 Thread Tomas Kopecek
Honza Král napsal(a): > On 9/9/07, Tomas Kopecek <[EMAIL PROTECTED]> wrote: >> Honza Kr�l napsal(a): >>> can you replicate this with DEBUG=False in your settings? >>> >>> without DEBUG turned on, no queries will be saved. I very much doubt >>> that all these sites built on Django are either leakin

Re: [Fwd: Memory leaks]

2007-09-09 Thread Honza Král
On 9/9/07, Tomas Kopecek <[EMAIL PROTECTED]> wrote: > > Honza Kr�l napsal(a): > > can you replicate this with DEBUG=False in your settings? > > > > without DEBUG turned on, no queries will be saved. I very much doubt > > that all these sites built on Django are either leaking memory or not > > usin

Re: [Fwd: Memory leaks]

2007-09-08 Thread Honza Král
can you replicate this with DEBUG=False in your settings? without DEBUG turned on, no queries will be saved. I very much doubt that all these sites built on Django are either leaking memory or not using large quantities of objects like this one here. On 9/8/07, Tomas Kopecek <[EMAIL PROTECTED]> w

[Fwd: Memory leaks]

2007-09-08 Thread Tomas Kopecek
Hello, imagine following code snippets: --- class Simple(models.Model): data = models.CharField(maxlength = 1000) for id in Simple.objects.all(): Simple.objects.get(pk = id) --- For cycle should create instance of Simple and allocate corresponding memory. Immediately after that all memo