Re: Memory usage of my application



See below...
On Tue, 10 Mar 2009 13:00:08 -0700, RLN <RLN@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

I have client/Server Application . It is perfectly working. no issues. memory
leaks also very less. because it checked with memory checking tool like
boundschecker etc.
But In task manager my application is eating too much of memory usage.
****
I have no idea what "too much of memory" means. There are numbers. What are these
numbers? Why do you think they are "too large"? What do you think they indicate?

I wouldn't trust task manager numbers of memory size for anything I cared about. The
numbers are usually fiction. The absolute numbers are largely irrelevant; the rate of
change of numbers is *sometimes* (but not always) meaningful. That is, only the first
derivative matters and then only in restricted cases.
****
What
is the reason ?
****
Task manager produces numbers based on parameters that are not always clear, and even less
always meaningful.
****
Is still memory leak in my applicaitonor any issue with my
applicaiton? Please give the solution for this.
****
It is always possible that you have memory fragmentation, but since I would never, ever,
trust what Task Manager tells me about the size of my program, I would not believe
anything it told me (the only meaningful number is if there is a constant positive slope
to the memory size, that is, the first derivative is positive at all points of time; this
strongly suggests a memory leak)
joe
****
Joseph M. Newcomer [MVP]
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
.



Relevant Pages

  • Re: Application performance decrease after deleting rows
    ... Many of the past posts regarding the task manager can ... This is not a good approach, because high memory ... It is important to remember that an app ... memory leaks in .NET apps. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: CFont memory leak !?
    ... your leak is somewhere else. ... the memory will NOT increase... ... I think you are being misled by what task manager is telling you. ... on my MVP Tips site. ...
    (microsoft.public.vc.mfc)
  • Re: CFont memory leak !?
    ... the memory will NOT increase... ... but if the nPointSize is changed in a big wide range continuously, ... I think you are being misled by what task manager is telling you. ... on my MVP Tips site. ...
    (microsoft.public.vc.mfc)
  • Re: UNABLE to run EXPLORER.EXE
    ... task manager, the registry ... file is reloaded into memory. ... my registry with ERUNT. ... the task manager and navigate ...
    (microsoft.public.windowsxp.general)
  • Re: Seems like only 1GB RAM being used even when higher MAX RAM is
    ... all memory usage shown in task manager has been ... server) Because of the consistent correlation between what Task manager is ...
    (microsoft.public.sqlserver.setup)

Loading