When my code runs, the arduino will recall the setup function. Why is this? Am I running out of memory and its causing some sort of auto reset? Everything is reset including the memory, please help!
Why is this?
Because your code is doing something wrong.
Am I running out of memory
Maybe. Maybe not.
More definitive answers depend on the code you did not post.
Also, what are you using to power the Arduino, and what devices do you have connected? A schematic diagram would help, along with the code that Paul asked for. (Code between </> code tags, needless to say.)