memory-profiling

Find out how much memory is being used by an object in Python

How would you go about finding out how much memory is being used by an object in python? I know it is possible to find out how much is used by a block of code, but not by an instantiated object anytime in its life, which is what I want. EDIT: decided to go with the stats that task manager gives me. Based on the strong evidence that wha...

.NET Memory Profiling Tools

Hello, I am on the lookout for good .NET CLR memory profiling tools. My key requirement is that it will play well with IIS and standalone CLR Apps. Ideally I would see what objects are allocated, where they are allocated and what size they are? Does anyone have any good experiences with a particular tool that you would be happy to reco...

What tools and techniques can I use to detect and isolate high memory usage in .NET applications which call into significant unmanaged code?

Suppose I have a WinForms .NET application written in C#. This application allocates large amounts of memory from both the managed and unmanaged heaps. I can (relatively) easily figure out the allocation details (who, when, how much, etc.) of the managed objects using tools like Red Gate ANTS Profiler (which I have not used) or JetBrai...

What's the right way to install gems in a GC Patched ruby?

I want to install a GC Patched Ruby to do a memory profiling on my app. I followed the instructions at http://guides.rubyonrails.org/performance_testing.html#gc and installed a ruby instance at my home dir (I already have another "official" instance for development). This GC Patched ruby instance is working fine. The problem is when I n...

Using VADump to track memory usage - OpenProcess Failed c0000034

After reading an article in the most recent issue of MSDN magazine, I wanted to try using VADump to break down the memory usage of some applications I've written. The only copy of the executable on my PC is at: c:\Program Files\Microsoft Visual Studio 8\Common7\Tools\Bin\winnt\vadump.exe No matter what combination of arguments I g...

Looking for Multi-Platform Memory Leak detection programs.

Ok I have a school assignment to basically pick 3 memory leak detecting programs and run them on a bunch of c++ programs that the teacher supplies us and see how they compare to each other. These 3 programs have to be multi-platform and this is where I'm stuck. I have only been able to find one called valgrind which works on both MAC OSX...

What do you think about mapmalloc ?

I found following memory profiler: http://www.solucorp.qc.ca/miscprj/mapmalloc.hc It should be light and fast. Can someone share any experience with it? ...

Can I simulate memory scarcity to ferret out a memory leak with a smaller source dataset in a .NET application?

I have an application which predictably generates out-of-memory errors on very, very (very) large datasets - we're trying to fix the problem by optimizing the app's memory management, but the very, very large datasets in question require so long to run (days) that it's difficult to iterate through testing cycles and find the problem empi...

Which .NET performance and/or memory profilers will allow me to profile a DLL?

I write a lot of .NET based plug-ins for other programs which are usually compiled as a DLL which is up to the native application to start up. I've been using Equatec's profiler, which works great, but now would like something with more features, including the ability to profile memory usage. I tried out Red Gate's Ant Profiler, but as ...

TimerCallback.PerformTimerCallback memory allocation

I have a WCF service and I'm profiling its memory allocation. I see that 36% of the memory allocated on each request, is allocated through TimerCallBack.PerformTimerCallback, which in turn calls the following: ExecutionContext.CreateCopy ExecutionContext.Run All these allocation don't even go through my code and only allocates generic ob...

Memory profiler software - How to use them? Examples?

If I want to check a program for memory leaks, what method should I use to go about this? What software is available and how do you use that software? I'd like to see if there is a memory leak occuring in some code I have here and I'm not really sure how to check it. Thanks! ...

How to profile the memory consumption by a set of C++ classes?

I am trying to figure out the memory consumption by my (C++) program using gprof. The program does not have a gui, it is entirely cli based. Now, I am new to gprof, so I read a few tutorials, that taught me how to run gprof and spot time consumption. However, I need to find out the memory consumption by a specific set of classes. Say t...

Measuring Web application session resource consumption

Hi guys; I have this web application that i have created using Wicket, Guice and JPA. I would like to advise my clients on the resource consumption of the application so that i can also advice him on the optimum hardware to purchase. What is the best way of measuring the Memory and CPU consumption per session as well as the network band...