[web2py] Re: Memory leak with scheduler.py and MySQL

2011-11-21 Thread szimszon
Is that fixed already?

[web2py] Re: Memory leak with scheduler.py and MySQL

2011-11-21 Thread Massimo Di Pierro
yes. in gluon/dal.py TIMINGSSIZE = 100 That means we only store up to 100 queries. You will see the memory grow bot only up to a point. You can also decrease the number: import gluon.dal gluon.dal.TIMINGSIZE = 20 On Nov 21, 4:10 am, szimszon szims...@gmail.com wrote: Is that

[web2py] Re: Memory leak with scheduler.py and MySQL

2011-10-24 Thread szimszon
I have the same issue but it's not related to mysql :( I installed postgresql but I have memory leak too. I use Python 2.6.6 (r266:84292, Dec 27 2010, 00:02:40) in Debian Linux squeeze. But it seems that with Python 2.7.2+ (default, Oct 4 2011, 20:03:08) (Ubuntu 11.10) everything is good.

[web2py] Re: Memory leak with scheduler.py and MySQL

2011-10-24 Thread szimszon
Could be. After I was able to install python 2.7.2 on squeeze I realized after some scheduler restart that there is still a memory use increasing...

[web2py] Re: Memory leak with scheduler.py and MySQL

2011-10-24 Thread Massimo Di Pierro
db._timings will cause a memory leak with the scheduler. because it logs to ram all queries. I will fix it tonight. On Oct 24, 3:25 pm, szimszon szims...@gmail.com wrote: Could be. After I was able to install python 2.7.2 on squeeze I realized after some scheduler restart that there is still