Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
There is not enough memory to complete this operation
Message
 
 
To
15/09/2008 10:00:54
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01347594
Message ID:
01347600
Views:
23
>Hi,
>I have a file convertion program. This program using FILETOSTR() to get textfile content. (The filesize for example - 24Mb)
>I have an error message "There is not enough memory to complete this operation " but on my developer machine with 1.6Gb free space and 2Gb ram - it works.. but on the server machine with 12Gb free space and 8Gb ram - this error happens.
>
>What can I make in this case?
>Thanks
>Denis

You need to use something different than FILETOSTR or somehow adjust the memory. I would recommend the first approach using Windows API functions to read/write to the file.

On foxclub.ru there was a discussion about a year or more ago there different better alternatives were discussed.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform