FurqanAhmed
Programmer
Hi All
i have developed a Client/Server Chatting appliation.
in which i developed a Chatserver which is run as window service at centrize location and client app which is a window form that just connect to the chat server and start chatting.
when the client connect to the server, server creates a instance of client and open a thread for it to handle seperately as the server normally do in chat application.
as the chatserver will keep ruuning all the time, so i have to test the server... i am testing it by using perfomance monitoring tool provided by window.
so i am testing my server through following parameters.
Processore Time.
Thread Count
the reading of above paramter is fine.
Hanlde Count
when the thread creates the hanlde count increase but it doesnot decrease when the thread stopped.
Private Bytes
Virtual Bytes.
Private Bytes and Virtual Memory also increase when the client connect to the server but it does not decrease when it disconnect to the server, although i am properly deleting the client.
Problem:
1-
i just want to know how can i check the memory status of my applcation... i just want to know if the client connect to the server, abviously it would take the some memory.. but i should be release when it dissconnect.
2-
if the thread stopped why handle count is not decressing and if it should be decreased then how can i free the handle of a thread.
i would be thankfull if someone solve my problem.
Thank You,
Best Regards.
YEH GHAZI YEH TERAY PUR-ASRAR BANDAY
i have developed a Client/Server Chatting appliation.
in which i developed a Chatserver which is run as window service at centrize location and client app which is a window form that just connect to the chat server and start chatting.
when the client connect to the server, server creates a instance of client and open a thread for it to handle seperately as the server normally do in chat application.
as the chatserver will keep ruuning all the time, so i have to test the server... i am testing it by using perfomance monitoring tool provided by window.
so i am testing my server through following parameters.
Processore Time.
Thread Count
the reading of above paramter is fine.
Hanlde Count
when the thread creates the hanlde count increase but it doesnot decrease when the thread stopped.
Private Bytes
Virtual Bytes.
Private Bytes and Virtual Memory also increase when the client connect to the server but it does not decrease when it disconnect to the server, although i am properly deleting the client.
Problem:
1-
i just want to know how can i check the memory status of my applcation... i just want to know if the client connect to the server, abviously it would take the some memory.. but i should be release when it dissconnect.
2-
if the thread stopped why handle count is not decressing and if it should be decreased then how can i free the handle of a thread.
i would be thankfull if someone solve my problem.
Thank You,
Best Regards.
YEH GHAZI YEH TERAY PUR-ASRAR BANDAY