Direct Links: Provided the repro file, it was happening in here, 🌴Perris, California - Roblox but we disabled the VCApi for now.
DxDiag:
Processor: AMD Ryzen 9 7900X 12-Core Processor (24 CPUs), ~4.7GHz
Memory: 65536MB RAM
Available OS Memory: 64696MB RAM
Page File: 43136MB used, 25655MB available
Windows Dir: C:\Windows
DirectX Version: DirectX 12
Card name: NVIDIA GeForce RTX 4070 Ti
Reproduction Steps:
Create baseplate
Place game to 1-50 (voicechat limit)
Enable VoiceChatService and Set API to enabled.
Join / Reset and watch [Unknown] go crazy
Expected behavior
When players join/leave or even reset (meaning loadcharacter) the [Unknown] starts skyrocketing. We released a game with 35 players and it crashed / shutdown with 288 meaning server ran out of memory.
We removed every script, every localscript, everything you can think of in rep etc. Basically empty map ONLY, and having it enabled still caused the issue to occur. Once disabled the issue went away.
Hey @Ashi_Division, in the beginning of the video EnableDefaultVoice is false and UseAudioApi is Disabled, but prior to the Audio API, setting EnableDefaultVoice to false effectively turns voice chat off completely.
Does this high memory usage still occur with EnableDefaultVoice set to true but UseAudioApi disabled?
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
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?
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.
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