SwiftOSC icon indicating copy to clipboard operation
SwiftOSC copied to clipboard

Over time, delays begin to occur

Open pekochun opened this issue 5 years ago • 1 comments

I tried sending messages about 3600 times per second. Then, there is no problem at the beginning. However, after a few tens of seconds, the iOS app will start to slow down. What is the cause of this? I'm guessing it's either a problem with the timeout value setting or an excessive memory consumption. Does anyone have any idea how to solve this problem?

pekochun avatar Dec 20 '20 04:12 pekochun

Try enclosing your code in an auto release pool.

Devin On Dec 19, 2020, 8:37 PM -0800, pekochun [email protected], wrote:

I tried sending messages about 3600 times per second. Then, there is no problem at the beginning. However, after a few tens of seconds, the iOS app will start to slow down. What is the cause of this? I'm guessing it's either a problem with the timeout value setting or an excessive memory consumption. Does anyone have any idea how to solve this problem? — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

devinroth avatar Dec 20 '20 16:12 devinroth