vb6 COM+ out of memory client server issue
- From: javigm@xxxxxxxxx
- Date: 4 May 2007 07:00:24 -0700
Visual Basic 6
Microsoft Active Data Objects 2.8 version 2.82.1830.0
Component Services version 2001.12.4720.1830
Our application follows the standard Windows DNA architecture with
ActiveX dlls and Windows forms deployed on a client tier and activeX
dlls hosted in COM+ on remote server machines, all code is VB6. Our
client is experiencing out of memory errors on their production and
supporting environments which we have been unable to reproduce in any
of the environments within our company.
The out of memory error appears to be raised outside of our code when
the COM+ component (server side) has completed its work and is
attempting to return the results to the calling component (on the
client side). We have error logging within every method in our code
and the server component does not log any error, after adding tracing
to the code we could see that the server dll exits sucessfully and
the
error is reported by the line of code in the client that calls the
server component.
The error does not happen constantly and works fine for a while but
once it has been raised it is continually reported on every
subsequent
call to the same method until the application server is rebooted.
When the error occurrs different methods on the same server component
can still be called sucessfully
The error reported is "Out of Memory - Run time error 7". The error
is reported by the client callee code and is not logged on the server
machine. Our code has error handlers in every method and these are
logged to the application event log so it appears as though the error
is being raised when trying to return from the method via COM+ to the
calling code.
Rebooting the application servers clears the error for a number of
hours.
Having the COM+ dlls compiled with Unattended Execution and Retained
In Memory options selected, this has no affect on the issue.
.
- Prev by Date: Re: outlook linking using VB6 on Vista and Office 2007
- Next by Date: Re: Compiler does not find syntax error at compiletime
- Previous by thread: Re: outlook linking using VB6 on Vista and Office 2007
- Next by thread: Re: Compiler does not find syntax error at compiletime
- Index(es):
Relevant Pages
|