On your TX3 / TX4 Device, when the Memory Map App goes into sleep mode (backgrounded) to save battery the tracking is stopped.

This is not a great feature so to change it - Go into your Memory Map Settings - GPS Settings, you can select the option to 'Record track while app is backgrounded' 

But you must remember to stop logging when you want to turn the GPS off.