Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Increased CPU and Memory Usage over time
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2003
Database:
Visual FoxPro
Divers
Thread ID:
01301284
Message ID:
01301287
Vues:
11
>We are having a problem with a server written in VFP running on a Win Server 2003 box with a 3.2 GHz dual core processor and 2 GB memory. The VFP server instantiates a COM server. The COM server handles communications with one or more clients or simulators across the internet. With the server running and one client connected, we run a simulator that sends a small amount of data (34 packets of about 50 bytes each every 5 seconds) across the network to the server and the server in turn sends the data out to the one connected client. For the first 3 or 4 minutes all seems fine. The CPU usage is below 1% and the memory used by the COM Server's process os about 4-5mb.
>
>As time goes on however, the CPU usage slowly creeps up and the memory used by the process does the same. After about 4-5hrs the communications layer stops responding because of high CPU usage.
>
>What could be causing this? Or alternately, If I wanted to cause this behavior in VFP what are some ways I could go about it? If I know that I might have a clue as to where to start...
>
>Thanks,
>
>Steve

Searched here on 'memory leak' and this is the first message that came up

Re: 100% CPU Usage Thread #1266057 Message #1266111

See if it applies in your situation.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform