472,354 Members | 2,047 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,354 software developers and data experts.

profiling memory usage

Hi,

I am looking for a method to profile memory usage in my python program.
The program provides web service and therefore is intended to run for a
long time. However, the memory usage tends to increase all the time,
until in a day or two the system cannot handle it any more and starts
to do constant swapping. Is there a way to look at which objects or
variables are taking the huge amount of memory space?

Thanks,

Eddie

Oct 5 '06 #1
3 1421
On 5 Oct 2006 16:21:50 -0700, Eddie <ca*******@gmail.comwrote:
Hi,

I am looking for a method to profile memory usage in my python program.
The program provides web service and therefore is intended to run for a
long time. However, the memory usage tends to increase all the time,
until in a day or two the system cannot handle it any more and starts
to do constant swapping. Is there a way to look at which objects or
variables are taking the huge amount of memory space?
Have a look at:
http://www.velocityreviews.com/forum...-profiler.html

--
Remember that time Thotsakan punched Neil Bush in the dick?
Oct 6 '06 #2
The latest Python release 2.5 includes improvements to the memory
manager and *may* work better for you, it all depends on the root cause
of the problem. For more details, see the 5th bullet on this page
<http://docs.python.org/whatsnew/ports.html>.

/Jean Brouwers
Eddie wrote:
Hi,

I am looking for a method to profile memory usage in my python program.
The program provides web service and therefore is intended to run for a
long time. However, the memory usage tends to increase all the time,
until in a day or two the system cannot handle it any more and starts
to do constant swapping. Is there a way to look at which objects or
variables are taking the huge amount of memory space?

Thanks,

Eddie
Oct 6 '06 #3

Hi,

I am looking for a method to profile memory usage in my python program.
The program provides web service and therefore is intended to run for a
long time. However, the memory usage tends to increase all the time,
until in a day or two the system cannot handle it any more and starts
to do constant swapping. Is there a way to look at which objects or
variables are taking the huge amount of memory space?

Thanks,
Oct 6 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Rune Froysa | last post by:
I have a fairly large program that uses a number of third-party modules. After a few hours the program eats several 100M of memory. Does Python...
0
by: Bernd E via DotNetMonster.com | last post by:
Hello group, this mail is intended to provide a .NET tracing & profiling tool. This tool is free of charge and without any constraints regarding...
2
by: Frank Rizzo | last post by:
I am trying to profile the memory usage of an application. In Task Manager, I can add Virtual Memory Usage (VM Usage). I am confused by this...
1
by: Jon | last post by:
I have a service written in VB.Net 2. This service runs every 30 seconds and connects to an external web service to get some data, then parses and...
9
by: jeungster | last post by:
Hello, I'm trying to track down a memory issue with a C++ application that I'm working on: In a nutshell, the resident memory usage of my...
7
by: =?Utf-8?B?RGF2aWQgSm9uZXM=?= vpac org> | last post by:
I'm posting this here and on the VS Forum (C#) and on XP Embedded ng I have an XPe system that runs a .NET (C#) app that works with external hw...
1
by: JamesHoward | last post by:
Are there any good thread profilers available that can profile a thread as it is running instead of after execution is completed? I would like to...
2
by: Jaroslaw Szczepankiewicz | last post by:
Hi is it possible to profile memory usage of single function, ideally it would be to see stack tree with memory info of each function (current...
1
by: Jean-Paul Calderone | last post by:
On Tue, 22 Apr 2008 14:54:37 -0700 (PDT), yzghan@gmail.com wrote: The test doesn't demonstrate any leaks. It does demonstrate that memory usage...
2
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was...
0
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. ...
0
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific...
0
Oralloy
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the...
0
by: Carina712 | last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand....
0
BLUEPANDA
by: BLUEPANDA | last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.