Memory usage in Fusion

Options

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

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

Best Answer

  • h_imoto
    h_imoto
    Answer ✓
    Options

    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.

Answers

  • h_imoto
    h_imoto
    Answer ✓
    Options

    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.