Best tip for marathon sessions imo is once every 6-8 hours or so do the following:
- Stand up
- Take a quick walk around
- Stretch
- Have a bit to eat, take your time with it, relax
- go back to your hotel room, sleep for 6-8 hours
- return to finish your marathon