Click to See Complete Forum and Search --> : E_OUTOFMEMORY


October 7th, 1999, 01:10 PM
I have a small VC++ 6.0 application that has been running without any problem. This application connects to MS-SQL server 6.5 using MS-ADO (msado15.dll) version 2.0. Suddenly, it got an error message E_OUTOFMEMORY "Not enough storage is available to complete the operation." returned from the server every time it tries to execute a stored procedure. I have winNT ws with 128mb of memory and 400mb of diskspace on the C drive. I send the application to another developer's machine which has the same configuration and the program runs fine.

What could be wrong at my machine?

Bryozoan
October 9th, 1999, 04:05 PM
E_OUTOFMEMORY is one of those funky messages that are not
always what they seem. I recall that this one can be related
to a COM problem, like marshalling, or CoInitialize or something,
and not to a true out of memory condition. Searching for this
error on usenet should help.