In my past project, I have used sdk 10 and softdevice s130_2.0.0-4.alpha. with similar requirements but the softdevice was only consuming 0x2220 bytes.
Is this because of newer version of SDK?
Just wanted to double check, is it possible the RAM requirements might have increased by about 0x3C0 bytes for softdevice s130_2.0.1 compare to s130_2.0.0-4.alpha ?
No, it's always linked to Soft Device version not SDK. If you change SD version then expect changes in memory layout. Each Soft Device is accompanied with release notes which clearly say what are hard limits. The rest must be found experimentally as if you would change BLE configuration before SD enabling (= the same way you found your previous values). And yes, different SDK versions come with different SD so either you need to change HEX and H files in SDK to match SD version you like or change flash/RAM limits in loader script (+ sometimes there can be changes in SD API!) to match new version from SDK.
Regarding your second question you have obvious options:
Thank you for the answer! This is really helpful.
From release document:
However this is just typical allocation, they don't list minimal RAM requirements or any other point. As memory allocation mechanism isn't linear and it's subject of change (as internals of SD are evolving) I'm not surprised that for similar configuration the difference can make up to 1kB as you suggest. Note that the original you use is marked as ALPHA which means that API should be stable but internal mechanisms - including memory allocations, both flash and RAM - are subject of change. And they changed;) Also S130 V2.0.1 was released in May 2016, I so no excuse of using alpha versions in October 2017!
thanks! I am not using older versions, just comparing with a past project!