24b of GC Alloc every 0.01 seconds

Hi,

When looking at the profiler I’ve seen that vivox allocates 24b of garbage every 0.01 seconds.
This seems to be caused by a coroutine in VxUnityInterop.cs that creates a new WaitForSeconds(0.01f).
It would be nice if this could be cashed instead of being recreated.

2 Likes

Hi,

To confirm, you are seeing the 24 bytes being created every 0.01 seconds, but it is being deleted later. You are not seeing continued memory growth. Correct?

Dylan

This can definitely be cached!f
Unity fix this.

Maybe make a bug report about it if no one responds again

Yeah don’t see any memory growth, garbage collector seems to handle this.
Still it’s not ideal.

1 Like

Thank you for confirming. I’ve submitted this as an improvement request.

I’m going to close out this thread since I do not have information as to if and when this would be completed.

1 Like