473,543 Members | 2,061 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Error Help: CLI0120E Memory Allocation Failure

5 New Member
Error Help: CLI0120E Memory Allocation Failure
--------------------------------------------------------------------------------

Hi

Any help would really be appreciated. I am getting the following error in my VB program.

[IBM][CLI Driver] CLI0120E Memory Allocation Failure SQLSTATE=S1001

Any help on what could possibly cause this kind of error would be greatly appreciated.

Thanks in advance.
Nov 30 '06 #1
4 3646
r035198x
13,262 MVP
Error Help: CLI0120E Memory Allocation Failure
--------------------------------------------------------------------------------

Hi

Any help would really be appreciated. I am getting the following error in my VB program.

[IBM][CLI Driver] CLI0120E Memory Allocation Failure SQLSTATE=S1001

Any help on what could possibly cause this kind of error would be greatly appreciated.

Thanks in advance.
Make sure your database is started because the main cause is that the application has failed to connect to the database.
Also maybe check if BULK mode is on, if so, try using the normal mode.
Dec 1 '06 #2
Rocketman
5 New Member
Make sure your database is started because the main cause is that the application has failed to connect to the database.
Also maybe check if BULK mode is on, if so, try using the normal mode.
Hi

Thanks for response. It is definitely connected as it is extracting data. After a while the error pops up. I have increased the memory on the server ten fold, it diddnt resolve it. The task manager confirms that the application is not using all of the memory. This program worked perfectly up untill we upgraded to DB2 version 8. Could it be that ?

Again thanks for response
Dec 6 '06 #3
r035198x
13,262 MVP
Hi

Thanks for response. It is definitely connected as it is extracting data. After a while the error pops up. I have increased the memory on the server ten fold, it diddnt resolve it. The task manager confirms that the application is not using all of the memory. This program worked perfectly up untill we upgraded to DB2 version 8. Could it be that ?

Again thanks for response
For some reason then the connection is getting lost at times. I do not think it has anything to do with the memory though. Upgrade to DB2 certainly comes with some side effects at times (from my experince.) Maybe you should try uninstalling and installing a fresh copy od DB2 altogether.
Dec 6 '06 #4
Rocketman
5 New Member
For some reason then the connection is getting lost at times. I do not think it has anything to do with the memory though. Upgrade to DB2 certainly comes with some side effects at times (from my experince.) Maybe you should try uninstalling and installing a fresh copy od DB2 altogether.
Hi

Before I re-install DB2 could it be that the McAfee antivirus could be the cause
of this. I am getting the feeling that something is causing the connection or program to time out. Although I have changed the connection to time out only after 60 min. What else could be causing a delay in transmission.

Thanks again.
Dec 8 '06 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

7
2462
by: kk | last post by:
Hi Guys, i am posting a cpp program contains runtime error, memory not allocated to char *x in class B. while accessing showx function it doesn't print values. if anybody knows send a reply plz. thanks in advance kiran #include <iostream.h> #include <string.h> #include <stdio.h>
4
2077
by: kk | last post by:
Hi all, i didn't get output in the following code while compiling and executing with g++ version 3.2.3 it doesn't allocate memory to pointer varaible (x) in class B. and it gives correct output while executing in .Net and visual slick editor. why it didn't allocate memory? if anybody knows plz give reply. thanks in advance kk
16
2491
by: Jacob | last post by:
It is common practice (I've heard) to always catch allocation exceptions from "new". How is done in practice? What would be a common procedure (path of sequence) after such an event has occured? (For a multi-million LOC, GUI based application). It is also a common advice not to allocate objects with "new" unless absolutely required. The...
2
9659
by: mghale | last post by:
Greetings, I have moved a database from the DB2 Windows Platform (Dev) to our production AIX Server and am experiencing an issue: The AIX platform is 5.3 and DB2 version 8.1 pixpack 9a (8.1.1.89) There hardware is Power5 8 procs, 4 online and 8 GB of memory. When I create the the database with the 8 bufferpools that existed in DB2...
3
2572
by: Hassan Iqbal | last post by:
Hi, (1)if i do the memory allocation like: int **p; p= malloc(n*sizeof p); for(i=0;i<n;i++) /* i and n are integers */ p= malloc(n*sizeof p); then in that case is this command sufficient to free all the allocated memory:
66
3564
by: Johan Tibell | last post by:
I've written a piece of code that uses sockets a lot (I know that sockets aren't portable C, this is not a question about sockets per se). Much of my code ended up looking like this: if (function(socket, args) == -1) { perror("function"); exit(EXIT_FAILURE); } I feel that the ifs destroy the readability of my code. Would it be
2
1558
by: Rocketman | last post by:
Hi Any help would really be appreciated. I am getting the following error in my VB program. CLI0120E Memory Allocation Failure SQLSTATE=S1001 Any help on what could possibly cause this kind of error would be greatly appreciated. Thanks in advance.
94
3149
by: Chad | last post by:
On to top of page 163 in the book "The C Programming Langauge" by K & R, they have the following: char *strdup(char *s) { char *p; p=(char *)malloc(strlen(s)+1); if( p != NULL) strcpy(p,s): return p;
0
4415
by: kumar | last post by:
HI, I am constantly getting below error. I search on internet but didn't get any help, I would really appreciate if anyone can help me in resolving this issue. I am using DB2 V9.1 and OS is solaris. 2008-01-02-20.32.28.757252-480 I3728A679 LEVEL: Severe (OS) PID : 12724 TID : 1 PROC : db2fmp...
0
7410
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7593
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7744
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7350
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7691
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5887
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
4896
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3392
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
973
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.