Releasing Memory Programatically

  • Thread starter Thread starter Pete Ocasio
  • Start date Start date
P

Pete Ocasio

I identified a memory leak while accessing a COM object from CTD2000, the
development environment that I am currently using. In order to fix it, I
will have to upgrade to a newer version of the language which is not an
option at this time. Does anybody know of an app or have code in VB.net or
CTD that I can use to release memory programatically. While the system does
release some memory it does not do it fast enough nor does it release all of
the memory that the app is using. Any suggestions? Other than dumping CTD
which is also not an option at this time. Thanks for any help that any of
you may provide.
 
I did but the suggestion given was to upgrade. I did search their site for
possible solutions and even references posted by those that already upgraded
do not convince me that it will resolve the issue.
I am not able to upgrade at this time because it will require upgrading a
large number of modules and I am press for time. Do you have any
suggestions? THanks for your help and taking the time to respond.


CheckAbdoul said:
Did you try posting the question to the centura forum ?

--
Cheers
Check Abdoul [VC++ MVP]
-----------------------------------

Pete Ocasio said:
I identified a memory leak while accessing a COM object from CTD2000, the
development environment that I am currently using. In order to fix it, I
will have to upgrade to a newer version of the language which is not an
option at this time. Does anybody know of an app or have code in VB.net or
CTD that I can use to release memory programatically. While the system does
release some memory it does not do it fast enough nor does it release
all
of
the memory that the app is using. Any suggestions? Other than dumping CTD
which is also not an option at this time. Thanks for any help that any of
you may provide.
 
You will not be able to release memory that the module allocates from outside
the module. I mean you could try to inject code into their processes but I can't
believe you would be supported in any way shape or form and most likely would
end up blowing something up.
 
Back
Top