Overflow Exception
System.OverflowException: 陣列維度超出支援的範圍。
於 ExitGames.Client.Photon.Protocol.DeserializeString(MemoryStream din) 於 h:\svncontent\photon-sdk-dotnet\PhotonDotNet\Protocol.cs: 行 1639
於 ExitGames.Client.Photon.Protocol.Deserialize(MemoryStream din, Byte type) 於 h:\svncontent\photon-sdk-dotnet\PhotonDotNet\Protocol.cs: 行 1401
於 ExitGames.Client.Photon.Protocol.DeserializeParameterTable(MemoryStream memoryStream) 於 h:\svncontent\photon-sdk-dotnet\PhotonDotNet\Protocol.cs: 行 790
於 ExitGames.Client.Photon.Protocol.DeserializeOperationResponse(MemoryStream memoryStream) 於 h:\svncontent\photon-sdk-dotnet\PhotonDotNet\Protocol.cs: 行 727
於 ExitGames.Client.Photon.PeerBase.DeserializeMessageAndCallback(Byte[] inBuff) 於 h:\svncontent\photon-sdk-dotnet\PhotonDotNet\PeerBase.cs: 行 767
於 ExitGames.Client.Photon.TPeer.DispatchIncomingCommands() 於 h:\svncontent\photon-sdk-dotnet\PhotonDotNet\TPeer.cs: 行 392
於 ExitGames.Client.Photon.PhotonPeer.DispatchIncomingCommands() 於 h:\svncontent\photon-sdk-dotnet\PhotonDotNet\PhotonPeer.cs: 行 1227
於 ExitGames.Client.Photon.PhotonPeer.Service() 於 h:\svncontent\photon-sdk-dotnet\PhotonDotNet\PhotonPeer.cs: 行 1140
於 Photon.StarDust.Client.Connections.ClientConnection.PeerService() 於 C:\Work\Violetace\goldstar-server\src-server\Loadbalancing\Stardust.Client\Connections\ClientConnection.cs: 行 143
於 Photon.StarDust.Client.ConnectionStates.LoadBalancing.ConnectedToMaster.OnUpdate(ClientConnection client) 於 C:\Work\Violetace\goldstar-server\src-server\Loadbalancing\Stardust.Client\ConnectionStates\LoadBalancing\ConnectedToMaster.cs: 行 170
於 Photon.StarDust.Client.Connections.ClientConnection.Update() 於 C:\Work\Violetace\goldstar-server\src-server\Loadbalancing\Stardust.Client\Connections\ClientConnection.cs: 行 179
於 ExitGames.Concurrency.Core.TimerAction.ExecuteOnFiberThread() 於 c:\(Work)\(EG)\exitgames-libs\src\Core\Concurrency\Core\TimerAction.cs: 行 57
於 ExitGames.Threading.FailSafeBatchExecutor.Execute(Action action) 於 c:\(Work)\(EG)\exitgames-libs\src\Core\Threading\FailSafeBatchExecutor.cs: 行 111
I have an error running the Stardust.Client.
with more then 500 clinets
Photon.StarDust.Client.exe.config
<add key="NumClientsPerGame" value="3" />
<add key="NumGames" value="210" />
how can i fix it ?
Answers
-
I use Version photon-server-sdk_v4-0-29-11263.
I want to Stress and Load Testing more then 500 clients,
Best more then 5,000 clients.
How can i do it?
0 -
Photon-OnPremise-Server-SDK_v4-0-29-11263\src-server\Loadbalancing\Stardust.Client
change Photon.StarDust.Client.exe.config
and run Photon.StarDust.Client.exe
wait more then 500 clients,
I well get the Error.
0 -
hi, @GAGA
unfortunately there is not good way to start many clients. you have to write it your self using client lib, but client lib is not very good in this sense, because it creates one thread per connection.
are you sending custom types in your test? It looks like this somehow breaks client
best,
ilya
1