Skip to content
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

Python heap size #357

Closed
kaimanox opened this issue Jun 23, 2020 · 3 comments
Closed

Python heap size #357

kaimanox opened this issue Jun 23, 2020 · 3 comments

Comments

@kaimanox
Copy link

Hello everybody, I read that Omega has "32KB Python heap instead of 16KB one". Would it technically be possible to further increase this size? If yes, in which part of the code should I look to make such modification?

Thanks
Tiziano

@RedGl0w
Copy link
Member

RedGl0w commented Jun 23, 2020

Indeed, epsilon since version 13.2 has 32ko buffer for heap for python.

@M4xi1m3
Copy link
Member

M4xi1m3 commented Jun 23, 2020

The python heap is defined here https://github.com/Omega-Numworks/Omega/blob/omega-dev/apps/code/app.h#L75, but to increase it you'll need to decrease other memory areas (maybe external heap?) or only include the python app.

@quentinguidee
Copy link
Member

Hello! As answered, it is technically feasible. But if we wanted to increase this further, we would lose heap for the rest.

I close this issue since it has been answered. If you want more information, do not hesitate to comment this issue (or come to discuss it on the Discord! #16)

Thank you ^^

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

No branches or pull requests

4 participants