Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Port Listener: VFP or C++ or ??
Message
De
19/02/2015 11:52:50
Walter Meester
HoogkarspelPays-Bas
 
 
À
19/02/2015 10:48:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01587348
Message ID:
01615583
Vues:
72
>>>Walter, fairly sure it's caused by the code downloaded from the wiki that uses an object property to store the message byte by byte. As you'd expect, I'd have used a VFP cursor with a memo field that runs like a scalded cat even if it decides to spool to disk... but see other message for the solution I think we came up with.
>>
>>John, just stumbled across this message. Were you able to resolve it?
>>We have stumbled with similar problems, only to find out that the WinSock control needs to have the ERROR event implemented. If you don't your application will freeze and eventually run out of memory.
>>
>>also, just use TRY CATCH to catch any error and log it.
>
>even with try catch in place there is a good chance that your memory will be leaking/fragmenting without GC able to compact free areas due to error [objects?]

Not sure what you mean. GC? FWIW, we've got HL7 interfaces that run for years without interruption, pure VFP code.

Walter,
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform