I have a PB 2022 app that uses multi-threading (SharedObject functions) to receive messages via Winsock and update a SQL Anywhere database.
The app is running on a server that doesn't have a lot of memory. I'm wondering if there is a way to tell the memory manager to release unused memory.
The main thread calls GarbageCollect every 15 seconds but that just releases any unused objects.
Also, try not to use Auto Instantiated objects. Always do your own Create's & Destroy's.
Regards ... Chris
DC/DS.Reset()
DC/DS.dataobject = ""
Destroy DS