Search found 3 matches

by jeancarlosc
Mon Mar 17, 2025 9:33 pm
Forum: ESP32 Arduino
Topic: Json with about 6000 bytes save
Replies: 1
Views: 2864

Json with about 6000 bytes save

I have this code below where I can insert a list of up to 20 positions of about 5000 bytes. I have 31400 bytes free on the esp to try to save a list with 24 positions when deserializing my json it returns zero. void lerJsonBanco( ) {

Serial.println("executarConsulta");
Serial.println("bombaID ...
by jeancarlosc
Mon Mar 17, 2025 12:23 pm
Forum: ESP8266
Topic: How do I free up memory in my code?
Replies: 0
Views: 8330

How do I free up memory in my code?

1.345 / 5.000
I have this code below and I have an ESP8266 board before entering it in the media I have 40000 bytes and after executing the http it drops to 17000. I have already changed to MQTT and it is the same memory consumption.
I am checking the code in the looping and if it entered it no ...
by jeancarlosc
Mon Feb 24, 2025 12:45 pm
Forum: ESP8266
Topic: Problem writing a file with a large json
Replies: 0
Views: 11086

Problem writing a file with a large json

I'm having problems with memory of a large json list.

I have it recorded in a database and the only way I found was to use the code in (reference 1) below to read the list that is inside the loop.

After reading, I pass this json list to record with LittleFS (“reference 2”) and I believe it is not ...

Go to advanced search