This is a known problem that will hopefully be fixed in a future update (6***).
See this post but read on a little.
https://archicad-talk.graphisoft.com/viewtopic.php?f=13&t=72439&hilit=dimension%2A+profile#p324110
I assume you are using the dimension as a check/guide only in the profile manager pre-view, as dimensions (& text) in complex profiles have no use for anything else.
I think they used to delete when you saved the profile anyway (not sure if that is still the case).
I have used them in the past and exploded them into lines/fills/text so they don't delete and remain as info in the profile manager pre-view.
But of course you can't explode them if it crashes when you add them.
Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11