for_chr_memory.py

Created by mobluse

Created on December 29, 2025

83 Bytes

Demonstrates the bug on https://github.com/numworks/epsilon/issues/1893 After i=5112 here and 5114 in actual device it gives “MemoryError: memory allocation failed, allocating 5120 bytes”.


# Type your text here
for i in range(0x10000):print(i,chr(i))

During your visit to our site, NumWorks needs to install "cookies" or use other technologies to collect data about you in order to:

With the exception of Cookies essential to the operation of the site, NumWorks leaves you the choice: you can accept Cookies for audience measurement by clicking on the "Accept and continue" button, or refuse these Cookies by clicking on the "Continue without accepting" button or by continuing your browsing. You can update your choice at any time by clicking on the link "Manage my cookies" at the bottom of the page. For more information, please consult our cookies policy.