Skip to content

Memory Allocation Fail with Neo Trinkey  #9088

Closed
@mrklingon

Description

@mrklingon

CircuitPython version

Memory problem with CP 9.0.0 - code fails that works with CP 8.2.10

code.py output:
]0;🐍code.py | 9.0.0\Traceback (most recent call last):
File "code.py", line 1, in <module>
MemoryError: memory allocation failed, allocating 1016 bytes
]0;🐍1@code.py MemoryError | 9.0.0\
Code done running.

-------


Auto-reload is on. Simply save files over USB to run them or enter REPL to disable.
code.py output:
]0;🐍code.py | 8.2.10\TREK
-  .-.  .  -.-  

Code:
9.0.0

code.py: https://github.com/mrklingon/neotrinkey/blob/main/TOS3.py

Uses these modules:
https://github.com/mrklingon/neotrinkey/blob/main/morse.py
https://github.com/mrklingon/neotrinkey/blob/main/prt.py

Code/REPL

code.py output:
]0;🐍code.py | 9.0.0\Traceback (most recent call last):
File "code.py", line 1, in <module>
MemoryError: memory allocation failed, allocating 1016 bytes
]0;🐍1@code.py MemoryError | 9.0.0\
Code done running.

-------


Auto-reload is on. Simply save files over USB to run them or enter REPL to disable.
code.py output:
]0;🐍code.py | 8.2.10\TREK
-  .-.  .  -.-

Behavior

MemoryError: memory allocation failed, allocating 1016 bytes
]0;🐍1@code.py MemoryError | 9.0.0\

Description

Code:

code.py: https://github.com/mrklingon/neotrinkey/blob/main/TOS3.py

Uses these modules:
https://github.com/mrklingon/neotrinkey/blob/main/morse.py
https://github.com/mrklingon/neotrinkey/blob/main/prt.py

Additional information

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions