Discussion:
BDE Insufficient Memory Error
Farzan Behzadian
2003-02-04 13:28:26 UTC
Permalink
Hi Members;

I have a web application that uses BDE with paradox files. After some
working with application in Delphi IDE I encounter following error:
Insufficient Memory Error in alias xyz.
Then I have to close delphi and restart it again to solve the problem
for a while and the problem occurs again.
I have Win2k pro + 512 MB of RAM and at this time about 350 MB of it
is free: I dont have any dynamic memory allocating in my application
and i am sure every object that I create will be freed.
Do you have any idea about this error?

Thank you in advance;
Farzan Behzadian
***@bigfoot.com


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get 128 Bit SSL Encryption!
http://us.click.yahoo.com/LIgTpC/vN2EAA/xGHJAA/i7folB/TM
---------------------------------------------------------------------~->

Programming & Delphi Super Sites!
http://www.sandbrooksoftware.com/TS/TS2/index.shtml
---------------------------------------------------------------
Unsubscribe:delphi-programming-***@yahoogroups.com
List owner:delphi-programming-***@yahoogroups.com
---------------------------------------------------------------

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Ian Jeffery
2003-02-04 14:48:58 UTC
Permalink
I have this problem too, and i think it only happens it i am debugging an
application and program reset while the database it connected. This seems to
leave the connections hanging around in memory, until they build up and the
number of open cursors open at one time reaches maximum.

i dont think you can get around it other than make sure you dont
program-restart...

Ian
Subject: [Delphi] BDE Insufficient Memory Error
Date: Tue, 04 Feb 2003 13:28:26 -0000
MIME-Version: 1.0
X-Originating-IP: 213.176.77.43
Received: from n24.grp.scd.yahoo.com ([66.218.66.80]) by
mc1-f11.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Tue, 4 Feb
2003 05:29:10 -0800
Received: from [66.218.67.198] by n24.grp.scd.yahoo.com with NNFMP; 04 Feb
2003 13:28:30 -0000
Received: (EGP: mail-8_2_3_4); 4 Feb 2003 13:28:27 -0000
Received: (qmail 45856 invoked from network); 4 Feb 2003 13:28:27 -0000
Received: from unknown (66.218.66.216) by m5.grp.scd.yahoo.com with QMQP;
4 Feb 2003 13:28:27 -0000
Received: from unknown (HELO n10.grp.scd.yahoo.com) (66.218.66.65) by
mta1.grp.scd.yahoo.com with SMTP; 4 Feb 2003 13:28:26 -0000
Received: from [66.218.67.155] by n10.grp.scd.yahoo.com with NNFMP; 04 Feb
2003 13:28:26 -0000
X-Message-Info: dHZMQeBBv44lPE7o4B5bAg==
User-Agent: eGroups-EW/0.82
X-Mailer: Yahoo Groups Message Poster
X-Yahoo-Profile: farzan_beh
Precedence: bulk
X-OriginalArrivalTime: 04 Feb 2003 13:29:10.0898 (UTC)
FILETIME=[66CDDD20:01C2CC51]
Hi Members;
I have a web application that uses BDE with paradox files. After some
Insufficient Memory Error in alias xyz.
Then I have to close delphi and restart it again to solve the problem
for a while and the problem occurs again.
I have Win2k pro + 512 MB of RAM and at this time about 350 MB of it
is free: I dont have any dynamic memory allocating in my application
and i am sure every object that I create will be freed.
Do you have any idea about this error?
Thank you in advance;
Farzan Behzadian
_________________________________________________________________
MSN Messenger - fast, easy and FREE! http://messenger.msn.co.uk


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get 128 Bit SSL Encryption!
http://us.click.yahoo.com/LIgTpC/vN2EAA/xGHJAA/i7folB/TM
---------------------------------------------------------------------~->

Programming & Delphi Super Sites!
http://www.sandbrooksoftware.com/TS/TS2/index.shtml
---------------------------------------------------------------
Unsubscribe:delphi-programming-***@yahoogroups.com
List owner:delphi-programming-***@yahoogroups.com
---------------------------------------------------------------

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Paul Bennett
2003-02-06 11:52:54 UTC
Permalink
I have had a similar problem when using Paradox Tables. It appeared to be
due to the fact that I had two applications running, both of which where
accessing the BDE (and also the same alias, but I'm not sure that that is
relevant). The BDE Error code was 2501. A search of the Borland Developer
Network returned the BDE Error Listing document - 9 pages of BDE error codes
and a brief explanation (see
http://community.borland.com/atricle/0,1410,15283,00.html).
Further searching revealed the following.

"BDE Errors 2501,210D,2104, insufficient memory for this operation (2501),
Shared memory conflict (210D), and cannot find engine configuration file
(2104) with BDE v3.x and higher for Win95 and NT.

It may be necessary to modify the BDE setting SHAREDMEMLOCATION found on the
SYSTEM|INIT page of the BDE Administrator. Valid SHAREDMEMLOCATION values
range from 1000 to 7F00 (additional details can be found below and on the
BDEADMIN.HLP file). With one application using the Borland Database Engine
already loaded.
- Launch of second App using BDE: BDE Error 2501 'INSUFFICIENT MEMORY FOR
THIS OPERATION'
- Debugging second app: BDE Error 210D 'SHARED MEMORY CONFLICT'
- With debugger turned off: BDE Error 2104 'CANNOT FIND ENGINE CONFIGURATION
FILE'.

Preferred address of shared memory manager.
The shared memory manager and shared buffer manager load at preferred
address. If this address is used, the system can find a suitable
address(first process only). If this address conflicts with another
application, you might want to modify it. If the shared managers cannot be
loaded into the default, or specified memory address, one attempt to allow
the operating system to find a memory address is made. If a memory address
is specified outside the boundry (below), the default is used.

(Win 95)
Default 0xEBDE0000
Minimum 0x90000000
Maximum 0xFFFF0000

(Win NT)
Default 0x6BDE0000
Minimum 0x10000000
Maximum 0x7F000000

The range setting for SHAREDMEMLOCATION is 9000 to FFFF for Win 95 and 1000
to 7F00 for Min NT. Only the upper word is used to set SHAREDMEMLOCATION.

Paul Bennett
Dip.Comp.(Open).
Programmer/Analyst

Anderson's Law
Any system or problem, however complicated, if looked at in exactly the
right way, will become even more complicated.

Light travels faster than sound. That is why some people appear bright until
you hear them speak.


_________________________________________________________________
Overloaded with spam? With MSN 8, you can filter it out
http://join.msn.com/?page=features/junkmail&pgmarket=en-gb&XAPID=32&DI=1059


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get 128 Bit SSL Encryption!
http://us.click.yahoo.com/LIgTpC/vN2EAA/xGHJAA/i7folB/TM
---------------------------------------------------------------------~->

Programming & Delphi Super Sites!
http://www.sandbrooksoftware.com/TS/TS2/index.shtml
---------------------------------------------------------------
Unsubscribe:delphi-programming-***@yahoogroups.com
List owner:delphi-programming-***@yahoogroups.com
---------------------------------------------------------------

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Loading...