Memory usage improvements for endomondo sync