How to clear system memory in C# without rebooting computer when it shown "NOT ENOUGH MEMORY TO RUN EXCEL..." ?

Sep 9 2008 10:03 PM

My application need to run excel automation to get some value but when I ran this
application continuosly I got an error "Not enough memory to run Microsoft Excel..."
when it occur I have to restart my computer.

Could anyone give me a solution to clear memory without restarting computer.

Thank you.