I think I have a memory leak. After 7 days I have a memory consumption of 300MB. I have the following debug infos: Class July 14, 2004 9:06 am July 15, 2004 12:16 pm Delta DateTime.DateTime.DateTime 1417 6363 +4946 Products.PageTemplates.Expressions.SubPathExpr 2513 7059 +4546 BTrees.OOBTree.OOBTree 214 3724 +3510 Acquisition.ImplicitAcquirerWrapper 369 3677 +3308 Products.PageTemplates.Expressions.PathExpr 1168 3275 +2107 OFS.Image.Image 30 1458 +1428 Persistence.PersistentMapping 338 1629 +1291 It seems like I have leaking DateTime objects in some PageTemplates. How can they happen? I have the SimpleBlog product under suspicion. Thanks for every help. Regards, Florian Schulze
Florian Schulze wrote at 2004-7-19 13:12 +0200:
I think I have a memory leak. After 7 days I have a memory consumption of 300MB. I have the following debug infos:
Class July 14, 2004 9:06 am July 15, 2004 12:16 pm Delta DateTime.DateTime.DateTime 1417 6363 +4946 Products.PageTemplates.Expressions.SubPathExpr 2513 7059 +4546 BTrees.OOBTree.OOBTree 214 3724 +3510 Acquisition.ImplicitAcquirerWrapper 369 3677 +3308 Products.PageTemplates.Expressions.PathExpr 1168 3275 +2107 OFS.Image.Image 30 1458 +1428 Persistence.PersistentMapping 338 1629 +1291
It seems like I have leaking DateTime objects in some PageTemplates. How can they happen? I have the SimpleBlog product under suspicion.
Please search the mailing list archive. Especially, look for "LeakFinder". -- Dieter
On Tue, 20 Jul 2004 21:13:41 +0200, Dieter Maurer <dieter@handshake.de> wrote:
Please search the mailing list archive.
Especially, look for "LeakFinder".
I now tried it, but it all traces to PageTemplates and I can't see which ones or why. Regards, Florian Schulze -- Using Opera's revolutionary e-mail client: http://www.opera.com/m2/
Florian Schulze wrote:
I think I have a memory leak. After 7 days I have a memory consumption of 300MB. I have the following debug infos:
How big is your ZODB?
Class July 14, 2004 9:06 am July 15, 2004 12:16 pm Delta DateTime.DateTime.DateTime 1417 6363 +4946 Products.PageTemplates.Expressions.SubPathExpr 2513 7059 +4546 BTrees.OOBTree.OOBTree 214 3724 +3510 Acquisition.ImplicitAcquirerWrapper 369 3677 +3308 Products.PageTemplates.Expressions.PathExpr 1168 3275 +2107 OFS.Image.Image 30 1458 +1428 Persistence.PersistentMapping 338 1629 +1291
Doesn't look too out of the ordinary to me... Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
On Wed, 21 Jul 2004 16:31:24 +0100, Chris Withers <chris@simplistix.co.uk> wrote:
Florian Schulze wrote:
I think I have a memory leak. After 7 days I have a memory consumption of 300MB. I have the following debug infos:
How big is your ZODB?
Around 50 MB with some (30MB) additional files served through LocalFS.
Class July 14, 2004 9:06 am July 15, 2004 12:16 pm Delta DateTime.DateTime.DateTime 1417 6363 +4946 Products.PageTemplates.Expressions.SubPathExpr 2513 7059 +4546 BTrees.OOBTree.OOBTree 214 3724 +3510 Acquisition.ImplicitAcquirerWrapper 369 3677 +3308 Products.PageTemplates.Expressions.PathExpr 1168 3275 +2107 OFS.Image.Image 30 1458 +1428 Persistence.PersistentMapping 338 1629 +1291
Doesn't look too out of the ordinary to me...
That's from only one day, after 7 days it was more than 7 times as much, it's not stopping at some level. Regards, Florian Schulze -- Using Opera's revolutionary e-mail client: http://www.opera.com/m2/
Florian Schulze wrote:
Around 50 MB with some (30MB) additional files served through LocalFS.
Aha, then you do appear to have a leak ;-)
That's from only one day, after 7 days it was more than 7 times as much, it's not stopping at some level.
Not much fun. If PageTemplate are indicated as the source of the problem, see if you can narrow it down to a particular page template. Of course, if you're unlockuy it'll be your standard template :-/ Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
participants (3)
-
Chris Withers -
Dieter Maurer -
Florian Schulze