Octoprint/canvas crash

What is the problem?

Hi everyone,
I use a RPI 3B+ to print with a Palette 2S Pro and a Prusa MK3S
I had the good surprise today to find my Prusa MK3S in "pause" after about 3 hours of printing, the extruder waiting above the print and an octoprint server which did not answer any more. Nothing special on the Palette and MK3s screens, just the webpage that inform me to check the octoprint.log

searching in the log file "octoprint.log" I found this:

######################################
2020-09-29 17:05:14,569 - octoprint.server - CRITICAL - Now that is embarrassing... Something really really went wrong here. Please report this including the stacktrace below in OctoPrint's bugtracker. Thanks!
2020-09-29 17:05:14,572 - octoprint.server - ERROR - Stacktrace follows:
Traceback (most recent call last):
File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/server/init.py", line 940, in run
ioloop.start()
File "/home/pi/oprint/local/lib/python2.7/site-packages/tornado/ioloop.py", line 1048, in start
event_pairs = self._impl.poll(poll_timeout)
MemoryError
2020-09-29 17:05:14,587 - octoprint.server - INFO - Shutting down...
2020-09-29 17:05:14,701 - octoprint.server - INFO - Calling on_shutdown on plugins
2020-09-29 17:05:14,702 - octoprint.events - INFO - Processing shutdown event, this will be our last event
2020-09-29 17:05:14,712 - octoprint.events - INFO - Event loop shut down
2020-09-29 17:05:14,744 - octoprint.plugins.palette2 - INFO - Shutdown
2020-09-29 17:05:14,746 - octoprint.plugins.palette2 - INFO - Disconnecting from Palette 2
2020-09-29 17:05:14,751 - octoprint.plugins.palette2 - INFO - Resetting threads
2020-09-29 17:05:16,590 - octoprint.plugins.palette2 - INFO - Resetting all values
2020-09-29 17:05:16,601 - octoprint.plugins.palette2 - INFO - Updating all UI variables
2020-09-29 17:05:16,669 - octoprint.plugins.palette2 - INFO - Paths: ['/dev/serial/by-id/usb-FTDI_FT230X_Basic_UART_DM02GTEG-if00-port0']
2020-09-29 17:05:16,702 - octoprint.plugins.palette2 - INFO - ADVANCED UPDATE UI
2020-09-29 17:05:16,752 - octoprint.server - INFO - Goodbye!
######################################

I don't know what to do next to investigate and that's why I'm asking for your opinion.

Thank you

What did you already try to solve it?

Restart
update pip
update apt-get
update python to version 3

  curl -L https://get.octoprint.org/py3/upgrade.py --output upgrade.py
  python3 upgrade.py

Have you tried running in safe mode and if so did it solve the issue?

No

Complete Logs

octoprint.log, serial.log or output on terminal tab at a minimum, browser error console if UI issue ... no logs, no support! Not log excerpts, complete logs.)

full log available here : https://1drv.ms/u/s!AjC2bJhplz3diuUH5oVOsgh-9nNUsg?e=dRlGfT

Additional information about your setup

OctoPrint version, OctoPi version, printer, firmware, browser, operating system, ... as much data as possible

OctoPrint version : 1.4.2
OctoPi version : 0.17.0

Something seems to have eaten up all available memory. This can happen if a piece of software, eg an octoprint plugin, keeps requesting new memory to do things but "forgets" to release that memory when it is done with it. If the "leak" is very small, it will eventually cause an out of memory error, but it can be hard to track back where exactly the leak happens.

Running a long print in safe mode would (mostly) confirm if the problem is in OctoPrint itself or one of the plugins you have installed.