![]()
IMPORTANT! PLEASE REPRODUCE YOUR ISSUE ON THE Playground FIRST!
![]()
I just noticed my memory consumption fluctuates to a double amount while the scene is static, no new mesh or object created since my app is a simple viewer. I understand small fluctuation is totally normal, but this amount, 600MB to 1400MB is kinda surprising me and feel wrong. The memory will always drop to 600MB and the heap snapshot is always around 450MB, so no memory leak i believe. Anyone any idea how to debug further this issue?
The memory usage is from
const perf: any = performance;
if (perf.memory) { const usedMB = (perf.memory.usedJSHeapSize / 1024 / 1024).toFixed(1); const totalMB = (perf.memory.jsHeapSizeLimit / 1024 / 1024).toFixed(0); text += \`Memory: ${usedMB}MB/${totalMB}MB\`; }
Before asking a question
Search about your issue on the documentation. Maybe the problem you have is just a matter of understanding how the API works?
Search about your issue on the forum. Maybe someone else already had the same problem?
How to ask a good question
-
Write a title that summarizes the specific problem: A good title will help others identify what are you talking about quickly.- Bad example: Shadow problem
- Good example: Imported meshes on my scene don’t cast shadows
- Bad example: Issue with GUI
- Good example: GUI Button isn’t displayed on VR Session
-
Reproduce your issue on the Playground: This is the MOST IMPORTANT STEP! If we can see what you have tried on the Playground, and what the result of this is, we are much more likely to get what’s going on! And even if your problem is not happening on the Playground, but only on your environment, this already can give us clues what’s going on. -
Be patient: The team and forum users are all on different time zones, so your question might take a few hours to be seen. We try to answer everything as fast as we can, but remember we’re not robots 
Resources