1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

memory performance issue

Discussion in 'C' started by rahulonly4u, Sep 8, 2010.

  1. rahulonly4u

    rahulonly4u New Member

    Joined:
    Sep 6, 2010
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    software developer
    Location:
    india
    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
     
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,293
    Likes Received:
    365
    Trophy Points:
    83
    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,
     
  3. rahulonly4u

    rahulonly4u New Member

    Joined:
    Sep 6, 2010
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    software developer
    Location:
    india
    Its a Console Application i do not have Gui for this app
     
  4. xpi0t0s

    xpi0t0s Mentor

    Joined:
    Aug 6, 2004
    Messages:
    3,012
    Likes Received:
    203
    Trophy Points:
    0
    Occupation:
    Senior Support Engineer
    Location:
    England
    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.
     

Share This Page