It sounds most likely that you need more calories and less interfering activities, but to really have a better handle on things, provide me with this info: Necessary Info for Programming Questions
You included some of it here, but more detail is needed.