>In order to solve some issues I had encountered, I am using SYS(3050) to adjust the memory settings. I am saving the old settings, setting the foreground and background to 64*1024*1024, running my query, and putting the settings back. One client is getting an error when putting the settings back. It seems that the original foreground setting was -1351876608 and setting it back to this value causes an error. Why is this causing an error? Do I need to put the settings back?
>
>Thanks
Elyse,
An other program may have increased memory between setting it to 64*1024*1024 and back to 1351876608 (which is 1.2 GB - foxpro is taking al LOT of the computer's memory, and the higher sys(3050) the slower foxpro runs)
If I were you I'd put this at the very beginning of the main - these are my settings - and leave sys(3050) after that
=sys(3050,1, 64 * 1024 * 1024)
=sys(3050,2, 16 * 1024 * 1024)
Gregory