Goodmornig,
I was uploading one of my project on a Nicla Sense ME and I got this message:
Error Message: Operator new out of memory
Current Thread: main Id: 0x20003168 Entry: 0x1D337 StackSize: 0xC00 StackMem: 0x200067C8 SP: 0x2000732C
I never saw this error before during the previous uploads. I then finally sort out that the problem is the new version of the Arduino_BHY2 library (1.0.7) that was released last week. In fact, the problem is solved when I use the version 1.0.6.