From pythonmarco at gmail.com Tue Dec 7 18:05:13 2010 From: pythonmarco at gmail.com (Marco Hornung) Date: Tue, 7 Dec 2010 12:05:13 -0500 Subject: [PyOP] find memory leaks in running program Message-ID: <53323AB5-F6E9-48B6-BF57-865A17E6042E@gmail.com> Hey, ------------------------------------------------------------------------------------------ questions ------------------------------------------------------------------------------------------ 1. What are the best tools to analyze pythons memory stack, while it is running? 2. Is there a possibility to analyze the memory stack of a program with external programs? (without to change the source code - I am only interested in the object size) 3. Can I sort of "break" into the memory to see what objects consume how much memory? ------------------------------------------------------------------------------------------ my scenario ------------------------------------------------------------------------------------------ I have to debug a multithreaded server, which is written in the twisted-framework. One of the processes has some sort of memory leak - After one of our jobs is finished the main process has still over 59% of the entire memory allocated. I will probably have to recreate our scenario and equip our server with some memory sensors - but it takes 12h to reproduce the scenario and I will have to change the source code(at least I do not know of other options). Therefore I am looking for quicker possibilities to look into what causes our memory leak. Regards, Marco From jim at well.com Wed Dec 15 17:06:29 2010 From: jim at well.com (jim) Date: Wed, 15 Dec 2010 08:06:29 -0800 Subject: [PyOP] BayPIGgies meeting Thursday, December 16, 2010: Plone, Zope, Pyramid, Django Message-ID: <1292429189.1942.30.camel@jim-laptop> This meeting's talk is Plone, Zope, Pyramid, Django by Elizabeth Leddy As the first object publishing framework ever, Zope has been through several major overhauls and developed a bad reputation along the way. The reformulation of pylons and repoze into pyramid presents a great opportunity for zope to get back some street cred and offer sincere alternatives to front running frameworks like Django. This discussion will cover the current state of zope based technologies including repoze/pyramid, grok, bluebream, and plone. It will look at the best use cases for each framework, strengths, weaknesses, and deal breakers. If there is time/interest we will look at the zodb and other core zope concepts that you will find in each framework. A python developer since the age of 18, I have been developing zope and plone applications for over 8 years. I am currently a member of the Plone Framework Team and actively develop in multiple Python frameworks. I appreciate diversity in frameworks as well as OSS communities, so you'll frequently hear me talking about both. ......................................... Meetings usually start with a Newbie Nugget, a short discussion of an essential Python feature, especially for those new to Python. Tonight's Newbie Nugget: none. LOCATION Symantec Corporation Symantec Vcafe 350 Ellis Street Mountain View, CA 94043 http://maps.google.com/maps/ms?oe=utf-8&client=firefox-a&ie=UTF8&fb=1&split=1&gl=us&ei=w6i_Sfr6MZmQsQOzlv0v&hl=en&t=h&msa=0&msid=116202735295394761637.00046550c09ff3d96bff1&ll=37.397693,-122.053707&spn=0.002902,0.004828&z=18 BayPIGgies meeting information is available at http://www.baypiggies.net/ ------------------------ Agenda ------------------------ ..... 7:30 PM ........................... General hubbub, inventory end-of-meeting announcements, any first-minute announcements. ..... 7:35 PM to 7:35 PM ................ Tonight's Newbie Nugget: none. ..... 7:35 PM to 8:25 PM (or so) ................ The talk: Plone, Zope, Pyramid, Django ..... 8:25 PM to 8:55 PM (or so) ................ Questions and Answers ..... 8:55 PM to 9:30 PM (or so) ................ Mapping and Random Access Mapping is a rapid-fire audience announcement of issues, hiring, events, and other topics. Random Access follows people immediately to allow follow up on the announcements and other interests.