Updated Memory model (markdown)

pfabri
2016-11-20 18:19:43 +01:00
parent 15b4659e05
commit 33430b7bff

@@ -38,7 +38,7 @@ If you're in this situation, [JsonBuffer size calculator](https://bblanchon.gith
In the second case, let's say you dynamically generate a JSON object tree of a random complexity so you can't put a limit based on that. But on the other hand, you don't want your program to crash because the object tree doesn't fit in memory.
The solution here is to determine how much memory is available, or in other words how much memory you can afford for the JSON object tree.
### Why choosing fixed allocation?
### Why choose fixed allocation?
This fixed allocation approach may seem a bit strange, especially if you are a desktop application developer used to dynamic allocation, but it makes a lot of sense in an embedded context: