>differing MEMLIMIT settings (found in CONFIG.FP for DOS, CONFIG.FPW for VFP) in the DOS versus Application versus your VFP development environment could cause a difference in query speeds.
MEMLIMIT has no effect in VFP; SYS(3050) is used to control VFP's ability to allocate memory for buffering in foreground/background execution.