Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   memory performance issue (http://www.go4expert.com/forums/memory-performance-issue-t23247/)

rahulonly4u 8Sep2010 14:16

memory performance issue
 
Hi,

i am using c,c++ to develop a project and its a client server multi threaded application
when i run the server application it do some database transactions and sit idle if now
even no client is requesting i have seen memory used by app (shown in task manager )
is varying very much around 6000 k to 800 k and its automaticaly increases and decrease without any client request i m not getting why application behaving like this.



With Regards

Rahulonly4u

shabbir 8Sep2010 15:47

Re: memory performance issue
 
The only reason I could think of for such activity may be is because of painting and other issues where you have a GUI rich server interface.

If you do not have that then see what procedures and functions are keeping the server running and see if you have memory leak in them,

rahulonly4u 8Sep2010 16:04

Re: memory performance issue
 
Its a Console Application i do not have Gui for this app

xpi0t0s 9Sep2010 12:21

Re: memory performance issue
 
If it drops significantly then maybe Windows is swapping unused memory out to swapfile while other stuff needs it. If the application works fine and doesn't crash due to lack of memory then it's probably working find and not leaking memory.


All times are GMT +5.5. The time now is 13:41.