"memory nearly full" and map+info stopped in the middle of an activity

Hi!

A month ago or so I traded up from Fenix 6 PRO to a Fenix 7 Sapphire X. It´s updated to the last version.

Since then Ive only done shorter work-outs and activities, but a few times Ive gotten a message when i stopped my work outs "activity memory almost full, please sync to Garmin connect. I usually sync a few times a day.. How ever I haven't really thought about this until today:

I was out on a longer hike (4-5 hours) and when I was done I saw that the map and all (?) the data stopped logging after 2 hours and 6 minutes. The total distance seems to be OK but no map, heart rate or elevation is mapped during the second part of my Hike.

Do anybody know anything about this, are these thins associated or what do you think?

Thanks in advance,

Tomas