all groups > dotnet interop > february 2006 >
You're in the

dotnet interop

group:

Insufficient memory to continue the execution of the program.


Insufficient memory to continue the execution of the program. lyang
2/28/2006 11:20:46 AM
dotnet interop:
I am converting one vs.net 2003 solution to vs.net 2005. The solution
uses one old COM component through Interop. After migration, when I
call the Interop wrapper for the old COM component, I got the following
error message:

Insufficient memory to continue the execution of the program.

I re-created the Interop wrapper by using .Net framework 2.0 and
replace the old Interop in the solution, but got the same error
message.

The solution was a complicated solution which load/use Commerce Server
2002 and Content Management Server's .Net libraries, so I create a
simple web project that call the new version and old version Interop
for the old COM component, both are working fine and don't have the
above error.

Is that because ASP.Net 2.0 has different memory management than
ASP.Net 1.1? Any advice will be highly appreciated.
Re: Insufficient memory to continue the execution of the program. yoginee5503 NO[at]SPAM yahoo.co.in
3/16/2006 8:53:07 PM
[quoted text, click to view]
Re: Insufficient memory to continue the execution of the program. yoginee5503 NO[at]SPAM yahoo.co.in
3/16/2006 9:18:34 PM

I am working in DAL(Data Access Layer) in which I have use cusors.I
have closed all cursors,null all datareader ,close all connection still
I get this error (Insufficient memory
to continue the execution of the program.)

Is there any solution for this error?

Which is better to use GC.Collect Or Dispose() ? Why?

Thank you
Re: Insufficient memory to continue the execution of the program. yoginee5503 NO[at]SPAM yahoo.co.in
3/16/2006 9:19:59 PM

I am working in DAL(Data Access Layer) in which I have use cusors.I
have closed all cursors,null all datareader ,close all connection still
I get this error (Insufficient memory
to continue the execution of the program.)

Is there any solution for this error?

Which is better to use GC.Collect Or Dispose() ? Why?

Thank you
AddThis Social Bookmark Button