Datagram memory issue
Posted: Tue Nov 13, 2018 5:10 pm
Hello everyone!
I have a trouble with memory consumption. My app is using UDP:
"accept datagram connections on port 6250 with message "gotData"
Other app sends me UDP-datagrams about 20-30 times a second. it is OSC-messages. I receive them, parse and perform some actions depending of what was inside. But memory amount using by app is increasing as fast as many packets was received. It seems like all these messages are stored somewhere. But i don't need it - it can be erased or cleared right after parsing. How it can be done?
P.S. In C++ when opening UDP socket there is a flag - when it 0 (zero) - messages after receiving will be deleted from queue. May be there is the same thing in LiveCode?
Help me please!
I have a trouble with memory consumption. My app is using UDP:
"accept datagram connections on port 6250 with message "gotData"
Other app sends me UDP-datagrams about 20-30 times a second. it is OSC-messages. I receive them, parse and perform some actions depending of what was inside. But memory amount using by app is increasing as fast as many packets was received. It seems like all these messages are stored somewhere. But i don't need it - it can be erased or cleared right after parsing. How it can be done?
P.S. In C++ when opening UDP socket there is a flag - when it 0 (zero) - messages after receiving will be deleted from queue. May be there is the same thing in LiveCode?
Help me please!