OSMC freeze after long time unused

See this article and especial the “grab-logs” command at the end for such purpose, regards,