Search found 1 match

by venquessa
Mon Aug 05, 2019 8:34 am
Forum: ESP32 Arduino
Topic: ESP32 stops parsing JSON, heap RAM keeps getting smaller
Replies: 3
Views: 6683

Re: ESP32 stops parsing JSON, heap RAM keeps getting smaller

Try to free/delete one or both variables: DynamicJsonBuffer jsonBuffer; JsonObject& response = jsonBuffer.parseObject(responseString); So the first object is a local stack variable which cannot be freed/deleted. The second is reference, which really shouldn't be deleted. Using a reference suggests ...