You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using SignalR.Client on ESP32 to send and receive data from server. And when send/receive data sometimes, it crashes and shows System.OutOfMemoryException in nanoFramework.Json.dll. I am debugging with Visual Studio 2022
Build project "Server" and host to address 192.168.1.250 in the same network with ESP32
Solder ESP32 to LCD2004 (SDA pin 25, SCL pin 26) and solder Touchpads to ESP32 gpio pin or you can modify codes of project "ESP32Client" to do whatever you want to send/receive data from server
Run project "ESP32Client" and touch the touchpads to send data and watch received data in LCD2004, or you can modify codes to use any buttons and serial monitor to send/receive data. Now when you send data serveral times, it will show OutOfMemoryException in VS Debugger.
Expected behaviour
The app crashes with System.OutOfMemoryException in nanoFramework.Json.dll
Does the ESP32 device you're using has PSRAM? If not, depending on the message size and the cadence of the messages, it can deplete the available memory quite fast.
Does the ESP32 device you're using has PSRAM? If not, depending on the message size and the cadence of the messages, it can deplete the available memory quite fast.
Library/API/IoT binding
nanoFramework.SignalR.Client
Visual Studio version
VS2022 (17.13.6)
.NET nanoFramework extension version
19.243
Target name(s)
ESP32_REV3
Firmware version
No response
Device capabilities
No response
Description
I am using SignalR.Client on ESP32 to send and receive data from server. And when send/receive data sometimes, it crashes and shows System.OutOfMemoryException in nanoFramework.Json.dll. I am debugging with Visual Studio 2022
How to reproduce
Expected behaviour
The app crashes with System.OutOfMemoryException in nanoFramework.Json.dll
Screenshots
Sample project or code
https://github.com/VuTruHoangDa/WebApp.git
Aditional information
No response
The text was updated successfully, but these errors were encountered: