Fusion Out Of Memory error

The whole answer can be found below.

Please note: 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! And we offer you support through 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.

Fusion Out Of Memory error

yjy020892
2022-04-29 00:59:26

Nice to meet you

I'm doing throughput testing with Fusion.

use RPC

In testing, it was confirmed that the amount of packets that can be sent at one time is about 8150 bytes.

However, while sending a specific Byte (assuming 4096 Byte) from Update continuously, an Out Of Memory error occurred, but it did not occur in the host, but only in the client.

Is this phenomenon correct?

If yes, or if not, can you tell me why this is happening?

please let me know

thank you.

Comments

ramonmelo
2022-06-15 15:00:11

Hi @yjy020892 ,

What is the use case for sending this amount of data on the Update ?

RPCs are meant to be used for short and rare communication between peers, not for a stream of data.

If you want to send a block of data, you can use the Fusion Stream System:

  • NetworkRunner.SendReliableDataToServer()

  • NetworkRunner.SendReliableDataToPlayer()

  • INetworkRunnerCallbacks.OnReliableDataReceived

--

Ramon Melo

Photon Fusion Team

Back to top