10

& ldquo; Insufficient memory & rdquo; when running the query in Delphi 7...

 3 years ago
source link: https://www.codesd.com/item/insufficient-memory-when-running-the-query-in-delphi-7-using-bde-paradox-7.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

& ldquo; Insufficient memory & rdquo; when running the query in Delphi 7 using BDE Paradox 7

advertisements

When I run the program which is connect to a paradox database (*.db), it show error message something like project myprogram.exe raised exception class EDBEngineError with message Insufficient memory for this operation.

I use the DataSource1, Table1 and Query1 control and show the result of the Query1 to DBGrid1, the record is not greater than 100 record and the field is about 6 fields and only 1 table in the database. But the Query1 RequestLive property set to True.

I've search the web for the resolution and it shows that I need to setting the BDE administrator INIT tab to increase the ShareMemory, et al. Is it normal for me to set or maybe something wrong with the initialization of the BDE controls?

Thanks.


Yes, you should increase this SHAREDMEMSIZE parameter to make it work as described here. If this is a new project, i would not recommend using paradox database. There are plenty of free databases like Firebird, Microsoft SQL Server Express, Mysql...


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK