Alex
Yes, I saw that advice too. I have VFP7 SP1. However, I very much doubt that "Divide the program into smaller modules" reflects a properly researched solution. I read it as "Jeez, we don't see that too often! Any idea what happened?"
My quite large application is divided into modules of varying and but never excessive size. It does, create and remove objects on the permanent main form with high frequency and this error will typically be seen after a couple of hours work. All I can imagine is that there is leakage in garbage collection somewhere.
Tracing memory usage with the likes of SYS(1011) and SYS(1104) has been inconclusive.
John
>According to the help file:
>
>"Too many names used"
>As a program was being loaded or a table was being opened, the Visual FoxPro name table overflowed.
>Divide the program into smaller modules.
>
>
>This was supposedly corrected in VFP7 . FWIW I do not get this error.
>Have you run the sample code in the KB you mentioned? Does it error out for you?
>What version (SP) of VFP7 do you have?