Enabling VoiceChatService / Setting it to Enabled causes HUGE memory leakage

Thanks for testing; we’ll check it out to see where this memory usage is coming from

6 Likes

Thank you, if you really need us to run a server to get a crash log let me know!

5 Likes

Are you comfortable sharing a .rbxl?

I tried EnableDefaultVoice = false, and UseAudioApi = Enabled on a baseplate, and reset my character several times; this does not seem to reproduce the issue for me – so there must be more to it :thinking:

5 Likes

Yep just added you to the PV message with the other RBX Engineer. For some reason the PV message associated with this post acting funny.

5 Likes

Hey @Ashi_Division, there was indeed a memory leak, but it only happened server-side (not on the client) – we’ve flipped a flag that should address that; has the Script Rate (/s) also gone down?

3 Likes

Yea it so much better than it was months back servers are actually lasting now thank you very much and glad you solved it!

EDIT:

It is being caused again…

4 Likes

Hello @ReallyLongArms ,

I have enabled VoiceChatService AudioAPI on our experience and the leakage happened again.
This has been fixed upon disable the AudioAPI (setting it to Automatic, default value)

The AudioAPI was only used under a speaker system that can only be used (and is only created) while having a vehicle spawned in, in which none was spawned at the time of the leakage.

Anything about that?

5 Likes

Is this happening in the same place as the original report, or a different placeID?

If you have a Place I can join or an rbxl that reproduces the problem I can take a look

5 Likes

No, it is a different PlaceID being 18436122805

I can give you a private server link in a minute for you to test the following, I just need to re-enable the element in question

2 Likes

Here is the private server link with the element that caused the issue enabled
Re-disabled the element in question to make servers playable.

The issue seems to happen when a player spawns having a contant spike of ~100 on AudioAPI enabled servers without spike down instead of ~10 or less with nearly instant spike down, never going above 100.

I should be ingame when you join hopefully I wont be there since sleep

EDIT :: A rbxl has also been provided to your private messages

5 Likes

It’s been nearly 2 months and this issue still occures.

Any status?

I have this same exact issue with my game, I also noticed that voices lag/repeat more frequently depending on the unknown rate.

1 Like

Sadly still ongoing for us as well.

1 Like

Hey @Ashi_Division – we flipped a couple flags yesterday that improve the performance of the voice default corescripts on the server – are y’all still encountering this?

3 Likes

Nope, it has been fixed!!!
Really appreciate it

CC: @ErrorCezar

1 Like

The unknown rate spike is fixed (it stays around 60,000-80,000) but I’m still experiencing some voice lag in my game, not sure if it’s normal?

Try restarting your servers are Unknown rate on start up is 0 and doesn’t go past 12. I believe your unknown issue may actually be a separate issue of memory leakage of your scripts?

This Unknown issue was replicable in an empty baseplate but now its fully good for us.

Does your Unknown also disappear after you disable the VoiceAPI?

I tried disabling voice chat and voice API, I also removed every script, localscript and modulescript and it still stays around 60. So apparently it’s unrelated to voice chat but I don’t know what causes it.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.