[web2py] Re: web2py memory leak

2012-10-15 Thread Massimo Di Pierro
These numbers are 100x larger than they should be. For me the memory is between 27MB and 90MB. Do you keep then entire DB in Ram? Are you caching some large objects in Ram? Or perhaps you are selecting lots of records and store them in session? Something is very wrong. On Monday, 15 October

[web2py] Re: web2py memory leak

2012-10-15 Thread Bill Thayer
Generally I pay attention to the physical memory in the task manager. I generally use about 3.5 to 4.5 GB but if I leave the rocket server on for a very long time it will grow to 5.5 GB and give me problems. If I forget and leave it on all night I will have to hard boot my PC. The basic behavio

[web2py] Re: web2py memory leak

2012-10-15 Thread Massimo Di Pierro
It would help if we could isolate the problem. How are you measuring it? make sure you are not running cron jobs in background (with <2.1 cron was always enabled) moreover web2py's memory usage may grows for the first 100 requests than some stuff is garbage collected and it stabilizes. massimo

[web2py] Re: web2py memory leak

2012-10-15 Thread Bill Thayer
That's all I have right now. Haven't tried it with SQLLite. On Monday, October 15, 2012 3:35:25 PM UTC-5, Massimo Di Pierro wrote: > > I this only work Oracle? > > On Monday, 15 October 2012 14:56:44 UTC-5, Bill Thayer wrote: >> >> >> Perhaps someone can check session.connect with Oracle for a r

[web2py] Re: web2py memory leak

2012-10-15 Thread Massimo Di Pierro
I this only work Oracle? On Monday, 15 October 2012 14:56:44 UTC-5, Bill Thayer wrote: > > > Perhaps someone can check session.connect with Oracle for a rocket server > memory leak? > To reproduce on windows 7 using web2py 2.1.1 from source: > 1) Create a new simple application called simpleapp w

[web2py] Re: web2py memory leak

2012-10-15 Thread Bill Thayer
Perhaps someone can check session.connect with Oracle for a rocket server memory leak? To reproduce on windows 7 using web2py 2.1.1 from source: 1) Create a new simple application called simpleapp where simpleapp is the name of an application with an Oracle table for storing sessions 2) Create a