Hi! I'm using an ESP32 with 512Kb of RAM, but I need approximately 1MB (Megabytes) of RAM for my project.
Is it possible, using Micropython, to make some kind of "Virtual RAM"?
Any help would be greatly appreciated.
Thank you.
Virtual Memory RAM
Re: Virtual Memory RAM
No.
Sent from my iPhone using Tapatalk Pro
Sent from my iPhone using Tapatalk Pro
Re: Virtual Memory RAM
You should use ESP32 board/module with 4MB psRAM (SPIRAM), then you can have up to 4MB free RAM (heap).
-
- Posts: 363
- Joined: Sun Apr 17, 2016 1:55 pm
Re: Virtual Memory RAM
I'm testing the support for the 2nd half of the 8MB SPIRAM in my MicroPython port.
As the access is based on bank switching (there is no other way to use it), it is not suitable for MicroPython heap, but it will be possible to use it for storing data.
I'm also testing the RAM file system placed on upper half of SPIRAM which have the advantage of much faster write access (>100x), but its content is lost if the power is removed.