Hi Lakshmi,
I had the similar kind of problem once. You need to release your objects and need to use GC.Collect() method, wherever possible.
Also release any Document objects or RecordSet object and set them to nothing.
Hope it helps.
Thanks & Regards
Ankit Chauhan