Memory Error, Memory Allocation Error of 136 bytes when trying import
Posted: Tue Jun 23, 2020 11:13 pm
I have a proyect and im using a SiPy to develop it, when i add a couple of new files to the proyect i tried to run the proyect to see that doesn't affect the proyect itself, but suddenly a
MemoryError: Memory Allocation failed, allocating 136 bytes
rised on the atom terminal, about a line that imports another class of the proyect, one that doesn't interfere with the new added.
I search a lot of information about it and i see some possibilities about allocate bytecode on the flash or something like that (sorry for bad expressions, not even my first year as software developer), and i tried to format my flash to clean the board (with os.fsformat("/flash")) and uploading it again to find out i have the same error.
if i comment that import line i catch the same error later on another import of an imported class also and so on...
I don't really know if there is some easy troubleshooting but i've been stuck for a week with this problem and i am out of ideas.
print("Thanks people").
MemoryError: Memory Allocation failed, allocating 136 bytes
rised on the atom terminal, about a line that imports another class of the proyect, one that doesn't interfere with the new added.
I search a lot of information about it and i see some possibilities about allocate bytecode on the flash or something like that (sorry for bad expressions, not even my first year as software developer), and i tried to format my flash to clean the board (with os.fsformat("/flash")) and uploading it again to find out i have the same error.
if i comment that import line i catch the same error later on another import of an imported class also and so on...
I don't really know if there is some easy troubleshooting but i've been stuck for a week with this problem and i am out of ideas.
print("Thanks people").