Rinie,
Are you leaving lots of large cursors open? What is the total size rows/coumns you are bringing down from the server
Why are you using winsock?
> My application is using SQL7 as backend database and im using winsock control to do query.I noticed that every query i made, the memory usage of my application increases up 2 2GB,this slows down the operation of the system and I need to restart the application to correct the problem.