I have also been running into program memory issues. You can take a look at my post here:
From my findings, it appears the base code takes around 91% of program memory ever with a blank project (on a V1.x micro:bit). I’ve been looking for ways to reduce memory size while maintaining core functionality for students using it.
Maybe let me know if you’ve found anything and I’ll do the same.