Open
Description
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
- Clone git repo: https://github.com/VuTruHoangDa/WebApp.git
- 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
Screenshots
Sample project or code
https://github.com/VuTruHoangDa/WebApp.git
Aditional information
No response