Information générale
Titre:
Problem with build up of system memory usage
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement