Unix Technical Forum

Re: ODBC Memory Allocation Error

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 ...


Go Back   Unix Technical Forum > Database Server Software > Informix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-20-2008, 09:40 AM
Obnoxio The Clown
 
Posts: n/a
Default Re: ODBC Memory Allocation Error



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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-20-2008, 09:40 AM
mauroc@beacon-ct.co.uk
 
Posts: n/a
Default Re: ODBC Memory Allocation Error

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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-20-2008, 09:40 AM
Paul Watson
 
Posts: n/a
Default Re: ODBC Memory Allocation Error

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 #
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:31 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com