... i have saved 13 dead cards from 8gb to 128gb...
Perhaps this has been mentioned here already but, grief, what on earth are you doing?
I don't mean that badly but I do wonder what your software is doing ?
Or, there is clearly something weird about your hardware setup/environment. SD's are unreliable but that is extreme.
Of course if you want SD cards to be robust, and the file systems on them, they should be written to as little as possible. Preferably mounted as read only.
Memory in C++ is a leaky abstraction .