Replies: 1 comment 2 replies
-
|
Still a valid question, any idea or suggestion ? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
On a specific project where I'm using
nlohmann::jsonextensively (thanks for this lib), I'm facing some RAM limitations and the firmware does not compile (link, in fact) anymore.Of course, this is due tu several factors and not only the lib usage. But analysing my firmware.map file, I see many, many lines and a lot of bytes related to my JSON usage.
eg:
_ZNSt6vectorIN8nlohmann16json_abi_v3_11_210basic_jsonISt3mapS_NSt7__cxx1112basic_stringIcSt11char_traitsI hav e two questions:
nlohmann::jsonin order to optimise memory usage ?nlohmann::jsonto use the external PSRAM these chips have (4MB are available) ?Thanks a lot for any pointer or good practice.
Bruno
Beta Was this translation helpful? Give feedback.
All reactions