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

Decrease the Python heap to 64ko #540

Open
fime-space opened this issue Jun 3, 2021 · 1 comment
Open

Decrease the Python heap to 64ko #540

fime-space opened this issue Jun 3, 2021 · 1 comment
Labels
Type: Feature New feature or request

Comments

@fime-space
Copy link

fime-space commented Jun 3, 2021

Is your feature request related to a problem? Please describe.
As it has been said, increasing the python heap also mean reduce the heap for the rest.
I noticed that some external apps (hexedit and sometimes KihCas) make the calculator reseting;
thats maybe due to a memory conflict ?

Describe the solution you'd like
I think that would be safer to decrase the heap to 64ko; I think that's enough for a lot of big scripts and wouldn't affect them.

@fime-space fime-space added Status: Triage Type: Feature New feature or request labels Jun 3, 2021
@RedGl0w
Copy link
Member

RedGl0w commented Jun 3, 2021

As it has been said, increasing the python heap also mean reduce the heap for the rest.

This is true : when the appsContainerStorage gets bigger, the native heap becomes smaller (but it is not used frequently in epsilon, so it shouldn't cause issues).

I noticed that some external apps (hexedit and sometimes KihCas) make the calculator reseting;

  • For hexedit, I have never noticed crashes (except when going on unmapped memory, which is totally normal)
  • For KhiCas, we haven't been able to find the origin of the crash yet, but when we changed python heap, we also increased the external heap.

I think that would be safer to decrase the heap to 64ko; I think that's enough for a lot of big scripts and wouldn't affect them.

This idea would be nice, because it would allow to increase storage (I don't think 100Ko for python heap and 32Ko for storage is a good ratio...)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants