How to forcefulley used garbage collector to reclaim the memory
Messages   Related Types
This message was discovered on ASPFriends.com 'aspngmigrate' list.
Responses highlighted in red are from those people who are likely to be able to contribute good, authoratitive information to this discussion. They include Microsoft employees, MVP's and others who IMHO contribute well to these kinds of discussions.

Nitin Ajmeri
Hi There
I am working on generationg Word document by .net application, i encounter
one problem. I am using Word.DLL for changin the word document
programatically. But my problem is that even i make the word instance equal
to nothing then also it keeps .net keeps the instance in the memory. I
suppose it is because the garbage collector will work only when there is
short of memory. Can i anyhow forcefulley execute the garbage collector to
reclaim the memory

If anyone has any idea?
if you have code then please let me know
Thanks in advance
NITIN

Reply to this message...
 
    
Marcie Jones (VIP)
System.GC.Collect()

Marcie

--- Nitin Ajmeri <Click here to reveal e-mail address> wrote:
[Original message clipped]

__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/

Reply to this message...
 
 
System.GC




Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com