Which chip are you using? Also are you using Soft Device? If so which version?
Hello,
The nrf_sdh_ble_default_cfg_set() which is used in all of our BLE examples will give you the RAM requirements, and print in the log if you need to adjust them.
I don't know the formula by heart, but these requirements depend on many parameters, mainly: Are you a central or a peripheral? How many central connections do you support, how many peripherals connections do you support, and most importantly, how many Services and characteristics do you have? How big are the sizes of your characteristic values, and so on.
I believe that the easiest approach is to monitor the nrf_sdh_ble_default_cfg_set() call, and see if you need to apply any changes to your RAM settings.
Best regards,
Edvin
I had to port it to a 52840 because there wasn't enough room on the 52810 to enable logging with the peer manager with the S113 soft device.