This is a discussion on Re: ODBC Memory Allocation Error within the Informix forums, part of the Database Server Software category; --> Captain Pedantic said: > > "Obnoxio The Clown" <obnoxio@serendipita.com> wrote in message > news:1120151654.7f465534fbbba9cf285e5e58154a8f23@t eranews... > >> .... then ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Captain Pedantic said: > > "Obnoxio The Clown" <obnoxio@serendipita.com> wrote in message > news:1120151654.7f465534fbbba9cf285e5e58154a8f23@t eranews... > >> .... then sorry, I've wasted your time. > > In these times of turbulence and uncertainty, where even the very planet > is > undergoing catastrophic change (unless of course, dear reader, you are in > the United States) it's reassuring to have things that never change. My response to this, in full, can be found at http://amishrakefight.org/gfy/ -- Bye now, Obnoxio "C'est pas parce qu'on n'a rien à dire qu'il faut fermer sa gueule" - Coluche A smile is a gift that is free to the giver and precious to the recipient. But giving someone the finger is free too, and I find it more personal and sincere. sending to informix-list |
| |||
| OK folks, let's get the debate back on track please! The original question was asking about possible causes of the following error: ERROR [HY001] [Informix][Informix ODBC Driver]Memory allocation failure I am a .NET programmer and so to me the error implies that the ODBC driver is hogging memory client-side. So - if that is true - I want to know how to be able to monitor that? If it is instead an internal informix error, then onstat will be of use. In any case - and this is the ultimate aim - is there anything I can do within my calls to the ODBC driver to avert this? Thanks |
| ||||
| mauroc@beacon-ct.co.uk wrote: > OK folks, let's get the debate back on track please! The original > question was asking about possible causes of the following error: > > ERROR [HY001] [Informix][Informix ODBC Driver]Memory allocation failure > > I am a .NET programmer and so to me the error implies that the ODBC > driver is hogging memory client-side. So - if that is true - I want to > know how to be able to monitor that? If it is instead an internal > informix error, then onstat will be of use. > > In any case - and this is the ultimate aim - is there anything I can do > within my calls to the ODBC driver to avert this? > > Thanks > You need to step though your code and when a DB connection is made, look at the onstat -g ses for the session. It will have used x memory, keep stepping through the code and check when you close the connection the memory is realised. If it's not AND you are closing the connection then I would start to suspect the driver. If it;s not AND you are NOT closing the connection then this is probabyl your problem , you are opening connections and not closing them -- Paul Watson # Oninit Ltd # Growing old is mandatory Tel: +44 1436 672201 # Growing up is optional Fax: +44 1436 678693 # Mob: +44 7818 003457 # www.oninit.com # |