473,395 Members | 1,488 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,395 software developers and data experts.

How much memory is a process using?

I've got a system where one of the processes that is running (not done by
me) is causing a memory leak. This is a process I call so I'm trying to find
out how much memory it's using. What I want to do is get the amount of
memory, run a call to the package, then check the memory again. If they are
different - I know where the leak is.

Anybody have any thoughts.

Don't suggest I go to the developer because it's calls to a web service that
I wrote that isn't releasing all of the memory - I just don't know where the
memory is not being released.

TIA - Jeff.
Apr 13 '07 #1
2 1825
Then just make sure your code don't leak the memory.

chanmm

"Mufasa" <jb@nowhere.comwrote in message
news:ul*************@TK2MSFTNGP05.phx.gbl...
I've got a system where one of the processes that is running (not done by
me) is causing a memory leak. This is a process I call so I'm trying to
find out how much memory it's using. What I want to do is get the amount
of memory, run a call to the package, then check the memory again. If they
are different - I know where the leak is.

Anybody have any thoughts.

Don't suggest I go to the developer because it's calls to a web service
that I wrote that isn't releasing all of the memory - I just don't know
where the memory is not being released.

TIA - Jeff.

Apr 14 '07 #2
That's what I'm trying to find out is where the memory is happening.

"Chan Ming Man" <ch*****@hotmail.comwrote in message
news:B8**********************************@microsof t.com...
Then just make sure your code don't leak the memory.

chanmm

"Mufasa" <jb@nowhere.comwrote in message
news:ul*************@TK2MSFTNGP05.phx.gbl...
>I've got a system where one of the processes that is running (not done by
me) is causing a memory leak. This is a process I call so I'm trying to
find out how much memory it's using. What I want to do is get the amount
of memory, run a call to the package, then check the memory again. If
they are different - I know where the leak is.

Anybody have any thoughts.

Don't suggest I go to the developer because it's calls to a web service
that I wrote that isn't releasing all of the memory - I just don't know
where the memory is not being released.

TIA - Jeff.


Apr 16 '07 #3

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

Similar topics

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...
9
by: Mike P | last post by:
I know everything about reference counting and making sure you don't have large objects lying around. I have also profiled my app with multiple tools. I know about the fact GC collects memory but...
4
by: GRABLER Georg | last post by:
Hello everyone. A not too long time ago, i wrote a Post about "Reading process memory". Now, i got a good answer, about using the "marshal" class. I read over the class quickly, but i could...
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. ...
1
by: trialproduct2004 | last post by:
Hi all, I am having slight confusion regarding memory management in .net. Say suppose i have two application one is in C# and other is in MFC(VC++). Both of this application are using lots...
81
by: Peter Olcott | last post by:
It looks like System::Collections::Generic.List throws and OUT_OF_MEMORY exception whenever memory allocated exceeds 256 MB. I have 1024 MB on my system so I am not even out of physical RAM, much...
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...
5
by: kumarmdb2 | last post by:
Hi guys, For last few days we are getting out of private memory error. We have a development environment. We tried to figure out the problem but we believe that it might be related to the OS...
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?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.