Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with build up of system memory usage
Message
De
21/11/2002 10:08:16
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Problem with build up of system memory usage
Divers
Thread ID:
00725185
Message ID:
00725185
Vues:
26
I have a process which runs continuously which uses WinSock listening for TCP/IP messages and then responds - it does this about once every 8 seconds during the day.
The problem is that although all my variables are local - on the customer site there is a slow and steady build up of system memory usage over time which eventually results in a system crash. I can't use CLEAR ALL at the end of each response as this destroys the WinSock OLE object. I can't create the object as a class and simply add it back after clearing it as I lose the connection with the server sending the messages.

So I was wondering if anybody knows a way of somehow flushing any extra memory usage from VFP? I can't reproduce the problem in testing in normal running circumstances but I can by getting the WinSock control to send thousands of messages in a continuous loop. This has the same effect.

Any ideas would be welcome!

Neil Shumsky
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform