Memory usage in Fusion
The whole answer can be found below.
Try Our
Documentation
Please check if you can find an answer in our extensive documentation on Fusion.
Join Us
on Discord
Meet and talk to our staff and the entire Photon-Community via Discord.
Read More on
Stack Overflow
Find more information on Stack Overflow (for Circle members only).
Memory usage in Fusion
h_imoto
2023-02-27 09:21:59
Sorry, I am having trouble using Fusion with mobile WebGL and would like to discuss it.
When I call GameStart() on Photon Fusion and the connection succeeds, about 30-40 MB of memory is allocated. And this increases each time the number of people in the session increases. (I confirmed this using the Profile function of SRDebugger.)
Uploaded 2023-02-27T09:21:44+00:00 3967979 bytes Is this as expected in the Fusion specification?
If we assume mobile WebGL, iOS will run out of memory and reload easily.
We would like to do some performance tuning. Is there anything we can do to address this increase in memory usage?
Unity: 2021.3.16f
Fusion: 1.1.5-F2-643
Comments
I set Page Shift and Page Count to their lowest values as a test and they decreased quite a bit. I will make some adjustments here.
Sorry for the trouble.
Back to top