Hi and welcome to DevZone.
We appreciate that you post questions in English.
I would recommend that you take a look ath the Custom BLE Service tutorial on GitHub.
For adjustment of RAM settings, you can take a look at this tutorial.
Best regards,
Andreas