royben / Resonance

High Performance Real-Time C# Communication Library.
MIT License
44 stars 5 forks source link

Buffer space #50

Open WibblesDev opened 1 year ago

WibblesDev commented 1 year ago

Trying to use the shared memory approach but I'm getting a buffer size issue. Is there a max size to the message?

Not enough space available in the buffer. at Resonance.ResonanceAdapter.Write(Byte[] data) at Resonance.ResonanceTransporter.OnEncodeAndWriteData(ResonanceEncodingInformation info) at Resonance.ResonanceTransporter.OnOutgoingMessage(ResonancePendingMessage pendingMessage) --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter.GetResult() at Resonance.ResonanceTransporter.Send(Object message, ResonanceMessageConfig config)

royben commented 1 year ago

From what I can see there is no limit on the message size. If you can send a sample project I will investigate.