Every time I charge my phone is freezes, more times than not when the clock is on after you plug it in and the phone isn't locked. Sometimes it freezes when I'm listening to music. This then causes me to battery pull, which then leads to my memory card being corrupted cause the phone has been reset too many times. It's very frustrating to recover, and put back on 3k+ files every day/every other day. Could it be the phone, memory card or battery? Thanks.
Replace the memory card for sure. It shouldn't get corrupted unless you were writing to it at the same time it locked up. And for sure back it up and do a security wipe if replacing or removing the memory card doesnt help.