Skip to content
Discussion options

You must be logged in to vote

Note that ssl uses memory when in use. So that could be the problem here.
I assume you only fetch the spot prices once a day? I will try this way:

  1. get the price data from the URL (using ssl!)
  2. store the price data to a file
  3. delete all ssl, socket objects
  4. gc.collect
  5. import display driver
  6. read price data from the file

This way you will not be using ssl when memory is tight. It is worth a try if your project allows you to do things in parts like the above.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
2 replies
@ctimmer
Comment options

@shariltumin
Comment options

Comment options

You must be logged in to vote
2 replies
@shariltumin
Comment options

Answer selected by jsa91
@jsa91
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
ESP32
Labels
None yet
3 participants