Reproduction Steps
To reproduce, simply open the console in-game and go to the Client/Memory section. Scroll up and down a little for good measure. After a minute or two, observe how high LuaHeap is.
System specs:
GPU: RX 5700
CPU: Ryzen 7 3700x
Memory: 16gb 3200mhz
Expected Behavior
I expect that using the console would not impact memory count very much, if at all. The console itself should not impact the performance of the game.
Actual Behavior
After playing my game normally for about 10 or so minutes, I open the console to check the memory. I observe a normal amount of memory (~520 MB) immediately after opening the console. After looking at client memory for a minute or two, I notice the total memory up to 700 MB with near 150 in LuaHeap.
This happens with every script in my game disabled, and even in an empty baseplate. In fact, the baseplate’s LuaHeap memory rose to 250 MB after about 20 seconds of being in the console.
Picture of PlaceMemory immediately after opening console:
Picture of PlaceMemory after being in console for 1.5 minutes:
Issue Area: Engine
Issue Type: Performance
Impact: High
Frequency: Constantly
Date First Experienced: 2021-11-27 00:11:00 (-05:00)
Date Last Experienced: 2021-11-27 00:11:00 (-05:00)