Board index » delphi » insufficient memory to perform operation

insufficient memory to perform operation


2003-10-01 02:36:07 PM
delphi205
Hi all,
I've got an old delphi 1 app that got moved onto a new machine with
windows XP. Most of it runs fine but one part generates an
"insufficient memory for this operation" error message while doing some
queries. I checked borlands web site and it refers me to TI-2751, but I
cannot find that TI on their web site. I had this problem a while back
at another site and it was a setting somewhere, but I have tried
everything I can think of and now only have a few hairs left...please
help.
Ray
 
 

Re:insufficient memory to perform operation

This may be related to a BDE problem where it thinks that there is
insufficient disk space for the temporary files used by the query.
The BDE uses an outdated windows API to determine free disk space. In some
cases - when free space is a multiple of 4GB, it may report that it does not
have enough free disk space.
There is a fix for this problem which works by creating a bogus file of a
certain size, that will take the client computer out of the 4GB multiple.
Search in Deja news for cb_testflds.exe. This free program will show you
what the BDE thinks it has available and what it actually has for free disk
space. Then it creates a bogus file to fill you out of the 4GB multiple. It
also give more information about the cause of the problem.
Rick
"Ray Nelson" <XXXX@XXXXX.COM>writes
Quote
Hi all,

I've got an old delphi 1 app that got moved onto a new machine with
windows XP. Most of it runs fine but one part generates an
"insufficient memory for this operation" error message while doing some
queries. I checked borlands web site and it refers me to TI-2751, but I
cannot find that TI on their web site. I had this problem a while back
at another site and it was a setting somewhere, but I have tried
everything I can think of and now only have a few hairs left...please
help.

Ray


 

Re:insufficient memory to perform operation

Hi,
Thanks for the info, but I tried searching for the exe you mentioned but
neither deja, nor dogpile found it. I also probably should have mentioned that
I copied everything from one XP computer to another and the problem occurs on
both. I am almost certain that I had the same problem at another site a few
months ago when they switched to XP and there was some setting or something
somewhere that fixed it, I just can not remember what. It seems like it was a
folder permissions thing. Any idea if that would give the same message?
Rick Roen writes:
Quote
This may be related to a BDE problem where it thinks that there is
insufficient disk space for the temporary files used by the query.

The BDE uses an outdated windows API to determine free disk space. In some
cases - when free space is a multiple of 4GB, it may report that it does not
have enough free disk space.

There is a fix for this problem which works by creating a bogus file of a
certain size, that will take the client computer out of the 4GB multiple.

Search in Deja news for cb_testflds.exe. This free program will show you
what the BDE thinks it has available and what it actually has for free disk
space. Then it creates a bogus file to fill you out of the 4GB multiple. It
also give more information about the cause of the problem.

Rick

"Ray Nelson" <XXXX@XXXXX.COM>writes
news:XXXX@XXXXX.COM...
>Hi all,
>
>I've got an old delphi 1 app that got moved onto a new machine with
>windows XP. Most of it runs fine but one part generates an
>"insufficient memory for this operation" error message while doing some
>queries. I checked borlands web site and it refers me to TI-2751, but I
>cannot find that TI on their web site. I had this problem a while back
>at another site and it was a setting somewhere, but I have tried
>everything I can think of and now only have a few hairs left...please
>help.
>
>Ray
>
>