code: def memory_error():
      
      warning_heading = m.Heading(
          tr('Memory issue'), **WARNING_STYLE)
      warning_message = tr(
          'There is not enough free memory to run this analysis.')
      suggestion_heading = m.Heading(
          tr('Suggestion'), **SUGGESTION_STYLE)
      suggestion = tr(
          'Try zooming in to a smaller area or using a raster layer with a '
          'coarser resolution to speed up execution and reduce memory '
          'requirements. You could also try adding more RAM to your computer.')
  
      message = m.Message()
      message.add(warning_heading)
      message.add(warning_message)
      message.add(suggestion_heading)
      message.add(suggestion)
      send_static_message(dispatcher.Anonymous, message)
docs: Display an error when there is not enough memory.