BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

insufficient memory to perform the operation

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder Databases (Desktop)
View previous topic :: View next topic  
Author Message
Rowman
Guest





PostPosted: Tue Feb 27, 2007 10:03 pm    Post subject: insufficient memory to perform the operation Reply with quote



In the code I attempt to open a TQuery. However the database is large
and the where clause ends up with about almost 700 fields.

Now under most circumstances the program works fine. But when the
database large, the program crashes with an error insufficient memory
to perform the operation (the open TQuery method). After the error
occurs Upon exit of the program a few exceptions is then
thrown.......Access Violation (something about NTDLL.DLL).

Now I've tried to increase the shared memory allocation within the BDE
administrator. This seems to only delay the problem. I have made sure
to change not only the config file but the registry file by selecting
Windows 95/NT only.

Can anyone help me with regards to my problem.

Thanx
Back to top
Rowman
Guest





PostPosted: Wed Feb 28, 2007 5:31 pm    Post subject: Re: insufficient memory to perform the operation Reply with quote



Another strange point that I forgot to mention is that the program
works fine when run in debug mode. Whenever run from the exe file
outside of the IDE the program crashes. How come it does not crash
when run in debug mode? I think this is strange.
Back to top
Rowman
Guest





PostPosted: Mon Mar 05, 2007 3:26 pm    Post subject: Re: insufficient memory to perform the operation Reply with quote



I eventually just splitted the large query into smaller queries and
manually added the values etc. This is probabl inefficient but at
least I dont get the memory problem anymore.

It seems like it is a BDE problem, when handling large queries. Maybe
some sort of memory leak.
Back to top
Alan
Guest





PostPosted: Mon Apr 09, 2007 6:41 pm    Post subject: Re: insufficient memory to perform the operation Reply with quote

Some of my customers are getting this error message but I'm not. I didn't
have large queries. I wonder what is going on. I've been using the BDE for
10 years and this error message starting to show up on new computers.

"Rowman" <RowanPillay (AT) gmail (DOT) com> wrote in message
news:1173086814.115180.109300 (AT) 64g2000cwx (DOT) googlegroups.com...
Quote:
I eventually just splitted the large query into smaller queries and
manually added the values etc. This is probabl inefficient but at
least I dont get the memory problem anymore.

It seems like it is a BDE problem, when handling large queries. Maybe
some sort of memory leak.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder Databases (Desktop) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.