[summerofcode] Memory usage tool

Brett C. bac at OCF.Berkeley.EDU
Tue Jun 7 05:02:26 CEST 2005


Tobi Vollebregt wrote:
> Hi all,
> 
> I read on your summer of code ideas webpage that there's some need for
> a tool in python to keep track of the memory used by the interpreted
> programs.
> 
> I wonder if I understand it correctly:
> 
> The goal of the project would be to change the python interpreter
> (written in C?) to keep track of all objects created via the
> interpreted code as well as memory allocated by C modules used by this
> code.
> 
> Is this correct?
> 
> And what about the way this information is passed to the user? Would
> the goal be a tool which just prints out warnings on console or in a
> log file about circular references and memory leaks? Or would it be
> something were a diagram could be drawn at any moment during program
> flow of all allocated objects and the references between them?
> 
> And does it matter if I don't know python yet? I'll try to learn it
> very soon if I apply of course.
> 

I can't answer the technical questions since I didn't propose the idea, but I
can try to answer your last question.  Technically, you do not need to know
Python.  But obviously knowing it ahead of time would be a great benefit so
that you have proper exposure to the language to understand its intricacies and
proper usage.

-Brett


More information about the summerofcode mailing list