I don't know anything about PHDBase but it's known that VFP has sometimes that problem on PC's with 1Gb memory or more and limiting the buffer size fixes it. You can limit the size of VFP buffers with SYS(3050) function .
SYS(3050, 1, 512*1024*1024)
SYS(3050, 2, 512*1024*1024)
Also try to call SYS(1104) after command that process large tables. It clears memory cache and buffers.
>This is the first time I tried to index PHDBase on a one million record tables. The command I use is the same as usual:
>
>
>PHD('INDEX NOTES,TITLE,KEEP ALL,NUMBERS,FULL,LARGE')
>
>
>However, after a while, I get:
>
>Not enough memory for file map.
>
>I have 1 GIG RAM on that server. So, what is the problem?
--sb--