473,386 Members | 1,720 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

How much memory am I using?

It looks like I have some kind of memory leak in my Visual Basic program. I
am grabing about 250K of memory every 10 seconds. I have all kinds of stuff
happening (Threads spinning in the backround & all kinds of timers going
off) and I cant tell where memory is getting sucked up.

Does VB/Visual studio.Net have some way to let me know how much memory my
objects are taking up? I cant seem to figure out how to get the
Locals/Watch/or Memory windows to show this information (Maybe I am doing it
wrong?).

Some kind of function I can execute from the Command Window would be fine
too like:

HowMuchMemoryDoesThisSillyObjectUse(MyObject)

Any help would be great!

g.
Nov 22 '05 #1
3 2639
Hi,

Have you tried seeing the task manager for this. You can
check the memory ussage for your entire process.

Also, you can try to select different columns from the
view menu of the task manager. Try using the "Mem
Usage", "Mem Usage Delta", "Peak Mem Usage", "Virtual
Memory Size".

Regards,
Puneet Taneja
-----Original Message-----
It looks like I have some kind of memory leak in my Visual Basic program. Iam grabing about 250K of memory every 10 seconds. I have all kinds of stuffhappening (Threads spinning in the backround & all kinds of timers goingoff) and I cant tell where memory is getting sucked up.

Does VB/Visual studio.Net have some way to let me know how much memory myobjects are taking up? I cant seem to figure out how to get theLocals/Watch/or Memory windows to show this information (Maybe I am doing itwrong?).

Some kind of function I can execute from the Command Window would be finetoo like:

HowMuchMemoryDoesThisSillyObjectUse(MyObject)

Any help would be great!

g.
.

Nov 22 '05 #2
Task manager is telling me that my whole program is chewing up Memory.

I was looking for an object level view of what is eating up the memory.

Thanks!
"Puneet Taneja" <Pu*****@NIIT.Com> wrote in message
news:04****************************@phx.gbl...
Hi,

Have you tried seeing the task manager for this. You can
check the memory ussage for your entire process.

Also, you can try to select different columns from the
view menu of the task manager. Try using the "Mem
Usage", "Mem Usage Delta", "Peak Mem Usage", "Virtual
Memory Size".

Regards,
Puneet Taneja
-----Original Message-----
It looks like I have some kind of memory leak in my

Visual Basic program. I
am grabing about 250K of memory every 10 seconds. I

have all kinds of stuff
happening (Threads spinning in the backround & all kinds

of timers going
off) and I cant tell where memory is getting sucked up.

Does VB/Visual studio.Net have some way to let me know

how much memory my
objects are taking up? I cant seem to figure out how to

get the
Locals/Watch/or Memory windows to show this information

(Maybe I am doing it
wrong?).

Some kind of function I can execute from the Command

Window would be fine
too like:

HowMuchMemoryDoesThisSillyObjectUse(MyObject)

Any help would be great!

g.
.

Nov 22 '05 #3
at a dev conference last year, i remember some ide extensions from intel i
think it was that would do that
"gregory_may" <None> wrote in news:#X**************@TK2MSFTNGP10.phx.gbl:
Task manager is telling me that my whole program is chewing up Memory.

I was looking for an object level view of what is eating up the memory.

Nov 22 '05 #4

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

Similar topics

3
by: Guy | last post by:
Hi It might take me a little time to explain this but here goes. Firstly I'm not using the latest upto date python releases so my first plan is to try more upto date rels of python and win32...
0
by: Srijit Kumar Bhadra | last post by:
Hello, Here is some sample code with pywin32 build 203 and ctypes 0.9.6. Best regards, /Srijit File: SharedMemCreate_Mutex_win32all.py # This application should be used with...
3
by: Ian Taite | last post by:
Hello, I'm exploring why one of my C# .NET apps has "high" memory usage, and whether I can reduce the memory usage. I have an app that wakes up and processes text files into a database...
20
by: jeevankodali | last post by:
Hi I have an .Net application which processes thousands of Xml nodes each day and for each node I am using around 30-40 Regex matches to see if they satisfy some conditions are not. These Regex...
16
by: JCauble | last post by:
We have a large Asp.net application that is currently crashing our production servers. What we are seeing is the aspnet_wp eat up a bunch of memory and then stop unexpectedly. Does not recycle. ...
23
by: James | last post by:
The following code will create memory leaks!!! using System; using System.Diagnostics; using System.Data; using System.Data.SqlClient; namespace MemoryLeak
7
by: Salvador | last post by:
Hi, I am using WMI to gather information about different computers (using win2K and win 2K3), checking common classes and also WMI load balance. My application runs every 1 minute and reports...
12
by: Tony | last post by:
Hi expert, I installed DB2 v8.2 server on Solaris 9 box. When I connect to DB2 using control centre or other applications(except command line), around 12 db2sysc processes pop up and each one...
9
by: Bruno Barberi Gnecco | last post by:
I'm using PHP to run a CLI application. It's a script run by cron that parses some HTML files (with DOM XML), and I ended up using PHP to integrate with the rest of the code that already runs the...
5
by: cham | last post by:
Hi, I am working on c++ in a linux system ( Fedora core 4 ), kernel version - 2.6.11-1.1369_FC4 gcc version - 4.0.0 20050519 ( Red Hat 4.0.0-8 ) In my code i am creating a vector to store...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.