The Photon Forum
is Closed Permanently.

After many dedicated years of service, we have made the decision to retire our Forum and switch to read-only: we´ve saved the best to last! Your search result can be found below. Plus, we offer support via these channels:

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).

Write Us
an E-Mail

Feel free to send your question directly to our developers.

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.)

fusion_benchmark.zip

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

Translated with DeepL

Comments

h_imoto
2023-02-28 05:07:51

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