Quantcast
Channel: dBforums – Everything on Databases, Design, Developers and Administrators
Viewing all articles
Browse latest Browse all 13329

CLI Multithreading

$
0
0
Hi,

I am trying to develop a C++ application using DB2 CLI calls. In my application, I have 3 threads and each thread have a separate evironment and connection handles.

My problem is that when I try to execute a query in the main thread, everything works fine but when I execute the same query on child thread and connection, I got an error message

SQL0954C Not enough storage is available in the application heap to process the statement. SQLSTATE=57011

The table I am trying to query only have 10 rows in it with no lob data.

Any help will be highly appreciated.

Regards.

Viewing all articles
Browse latest Browse all 13329

Trending Articles