Search:
Namespaces
Discussions
.NET v1.1
Feedback
How to forcefulley used garbage collector to reclaim the memory
Messages
Related Types
This message was discovered on
ASPFriends.com 'aspngdfgc' 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...
Mitch Denny (VIP)
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...
David Xavier
(Type your message here)
--------------------------------
From: David Xavier
word is not a managed component so you will have to use
Application
.quit
the Garbage Collector can only work on managed Components.all unmanaged Components have to be explicity released.
regards
David Xavier
Reply to this message...
System.GC
System.Windows.Forms.Application
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