Tools to Monitor Memory Utilization

R

Rohit

..NET is a memory hog - plain and simple. This, in my opinion, makes it less
than ideal for embedded applications where memory is constrained. I am
forced to use .NET for reasons that I will not go into, so I need to be able
to code my applications in such a way as to use memory efficiently.

So, is there a tool out there that will allow me monitor my application's
memory utilization on the embedded device? I am using the .NET compact
framework 2.0, programming in C# on a Windows PocketPC OS variant.

Even if there is a tool that will allow me to monitor the app's memory usage
in the emulator would be helpful.
 
M

Michael Nemtsev [MVP]

Hello Rohit,

Performance Counters?

---
WBR,
Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo


R> .NET is a memory hog - plain and simple. This, in my opinion, makes
R> it less than ideal for embedded applications where memory is
R> constrained. I am forced to use .NET for reasons that I will not go
R> into, so I need to be able to code my applications in such a way as
R> to use memory efficiently.
R>
R> So, is there a tool out there that will allow me monitor my
R> application's memory utilization on the embedded device? I am using
R> the .NET compact framework 2.0, programming in C# on a Windows
R> PocketPC OS variant.
R>
 
R

Rohit

Performance Counters are not good enough. I need to be able to know which
data structures and/or .NET managed data types are occupying memory and
if/when the garbage collector is freeing them.

Basically, I need something like the CLR profiler but for a Windows PocketPC
OS instead of Windows XP. If I have retarget my app for Windows XP and then
use the profiler, that would be extremely idiotic.

If I can use performance counters (do the Windows PocketPC OSes even have
performance counters?) to figure out how to recode my app, please please tell
me - it would help immensely.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top