When I am runing from exe file programm is increasing memory after some time it is crashing

HI friends

I devolped a program it is have soket program (Client - sever technology ).
When I am runing from .net IDE its working properly but
When I am runing from exe file ( ie after pakaging ) programme is keep on incresing memory after some time it is crasing.
I could not figure out reson for it
please suggest me resons for it.

In the program I have used
Soket Programing (in sever & client threading)
server is accepting the connection from the client

Regards
Reddy