Mega Code Archive

 
Categories / Delphi / ADO Database
 

insufficient memory to complete operation error

Question: "Insufficient memory to complete operation" error when attempting various BDE / Database operations: What is wrong? Answer: More than likely, you have hit one of the BDE fixed, but configurable, memory limitations. Use the BDE Administrator (BDEADMIN.EXE) to increase MEMSIZE and SHAREDMEMSIZE settings. You might also want to re-evaluate the application hitting this limitation because it is likely that the application is a serious resource hit on the machine. Not using auto-create forms and only opening tables and queries when needed can free up resources.