>>
>>After approx. 20-24 hours, program 1 leaves the VFP-screen, but the application-window has disappeared, program 2 is completely gone without a trace. In both cases, there are no free resources left.
>>
>
>Hmm... can be just about anything, esp. with the execution of the other programms. Maybe one of them has the leak. However first thing I would do is update to SP5 (that's better anyway) or upgrade to VFP7 <g>. If that doesn't help. See if You are a good boy and clean up Your room every evening <s>. I mean have a look if there
>are any nested object-references that are not nullified before their parents get released. I found VFP6 being
>quite generous concerning dangling references. VFP7 seems to be much more *accurate* concerning this and does
>send You directly to hell if You do it the wrong way.
In addition, making periodic calls to SYS(1104) (present but undocumented in VFP6, and documented and supported under VFP7) and explicitly adjusting the values for SYS(3050) may be of use. There are also excellent discussions of garbage collection techniques discussed on the Wiki.