pytrack memory allocation failure when using L76GNSS
-
os.uname() (sysname='WiPy', nodename='WiPy', release='1.7.6.b1', version='v1.8.6-703-g5e80328a on 2017-07-05', machine='WiPy with ESP32')
import gc gc.mem_free() 41600
from pytrack import Pytrack from L76GNSS import L76GNSS import gc py = Pytrack() l76 = L76GNSS(py, timeout=120) # GSP timeout set to 120 seconds gc.collect() print("Coords:",l76.coordinates()) traceback (most recent call last): File "<stdin>", line 20, in <module> File "/flash/lib/L76GNSS.py", line 47, in coordinates MemoryError: memory allocation failed, allocating 4118 bytes
-
Hi @constantinos this has been addressed here - I'm pushing a fix to the master branch at the end of today.