Have you seen a professional about this health issue? It certainly sounds like you are getting out of control. As you know intellectually, that's not enough calories to keep your body going......

I hope you can feel better and eat healthily before too long.