Skip to content

MemoryError: memory allocation failed, allocating 768 bytes #13

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
robmarkcole opened this issue Apr 24, 2019 · 6 comments
Closed

MemoryError: memory allocation failed, allocating 768 bytes #13

robmarkcole opened this issue Apr 24, 2019 · 6 comments

Comments

@robmarkcole
Copy link

robmarkcole commented Apr 24, 2019

I am also intermittently hitting the following error:

>>> import adafruit_amg88xx
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
MemoryError: memory allocation failed, allocating 768 bytes

Looks like adafruit/circuitpython#569

@robmarkcole
Copy link
Author

On occasions when I don't get the above error, I am then hitting:

>>> import adafruit_amg88xx
>>> amg = adafruit_amg88xx.AMG88XX(i2c_bus, addr=0x68) #Our devices are on 0x68
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'AMG88XX'

Is it possible the files are corrupted somehow? I have been doing a lot of rebooting of the device

@robmarkcole
Copy link
Author

Another restart of the board and everything ran fine

@evaherrada
Copy link
Collaborator

Have you had the issue since then?

@robmarkcole
Copy link
Author

Not used it since

@evaherrada
Copy link
Collaborator

@kattni Should I close this?

@kattni
Copy link
Contributor

kattni commented May 16, 2019

@dherrada Yes please!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants