Comments (3)
Hi @judge2005,
I read the ArduinoJson 7 introduction which was telling me how much memory 32 bit processors have
I'm assuming you're talking about this article, where I say "32-bit microcontrollers have much more memory".
In this sentence, as in the whole "code size" section, I was talking about the Flash memory, not the RAM.
Indeed, the new UNO has eight times more Flash than the previous generation.
I was talking about the Flash memory, but even if I were talking about RAM, it would still be true: the new UNO has sixteen times more RAM than the previous generation.
But I get your point: the board has more RAM, but a huge part is already consumed or reserved.
Fortunately, ArduinoJson 7 doesn't consume more RAM than ArduinoJson 6, as you can see with the ArduinoJson Assistant.
Moreover, ArduinoJson 7 doesn't need a contiguous memory block, so it can run when the heap is fragmented.
Please give it a try, and let me know if you have any problems.
Best regards,
Benoit
from arduinojson.
Thanks. I tried AduinoJson 7 and it is a definite improvement. I didn't notice any increase in firmware size and it definitely handles low memory (well, actually fragmented memory) better. I forced my application to do all the memory-hungry things and it never went wrong. At the time that it creates the 6k JSON document (or what previously required 6k) it worked fine with this Free heap: 12368, Max block size=3060
, so a definite improvement.
Many thanks.
from arduinojson.
I'm very glad to read that. Thanks!
I think I can safely close this issue then.
Don't hesitate to cast a star to support the project š
from arduinojson.
Related Issues (20)
- Filtering large arrays of objects HOT 4
- deserializeJson from HTTP result in EmptyInput error HOT 3
- best way to create a sub document HOT 6
- Callback-based filter HOT 1
- Adding entry in JsonObject using File object causes corrupted JSON HOT 1
- Initial serializing HOT 7
- `doc[var]` doesn't work when `var` contains a string
- JsonArray.add(JsonObject) adds partial JsonObject when the JsonDocument is full HOT 6
- ArduinoJson.h: No such file or directory HOT 3
- JsonVariant tests false for both a value that doesn't exist and for a value that is zero HOT 7
- How do i create JSON array of objects using ArduinoJson library. HOT 1
- Identifying JsonVariant type of a deserialized document HOT 4
- Example code results in compiler error: no match for 'operator+=' HOT 3
- Passing JsonDocument by reference HOT 4
- In Memory Deserialization HOT 4
- v7 equivalent of validateJson HOT 2
- conversion from āArduinoJson::V704HB42::detail::enable_if<true, ArduinoJson::V704HB42::JsonVariantConst>::typeā {aka āArduinoJson::V704HB42::JsonVariantConstā} to āArduinoJson::V704HB42::JsonDocumentā is ambiguous HOT 1
- Assertion `poolIndex < count_' failed HOT 1
- Maximum string length of 13 characters HOT 2
- V6 Documentation ArduinoJson PubSubClient with StreamUtils HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ššš
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ā¤ļø Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arduinojson.