Hi,
As a forewarning, I am novice with Micropython, so please be as explicit/thorough as possible with your recommendations/suggestions if you should have any .
I am using a PYBD-SF6W with a microSD card attached. I am trying to read in variables from some files on the microSD card; however, I am running into a memory allocation issue where I get the error:
"memory allocation failed, allocating 8192 bytes"
Is there a way to monitor how much memory is being used at any given time? Additionally, are there ways beyond running a gc.collect() to free up space in memory?
Thanks!
"memory allocation failed, allocating 8192 bytes" error
- pythoncoder
- Posts: 5956
- Joined: Fri Jul 18, 2014 8:01 am
- Location: UK
- Contact:
Re: "memory allocation failed, allocating 8192 bytes" error
I suggest you read this doc which should answer your questions.
Peter Hinch
Index to my micropython libraries.
Index to my micropython libraries.