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

Question about JIT_MAX_MEM flag #1443

Open
mladen5000 opened this issue Jan 26, 2021 · 1 comment
Open

Question about JIT_MAX_MEM flag #1443

mladen5000 opened this issue Jan 26, 2021 · 1 comment

Comments

@mladen5000
Copy link

Hi there and congratulations on the new release.
I was wondering if you had any guidelines for setting the JIT_MAX_MEM env variable. Also I was wondering if it takes a full number or if = '100MB' would work etc.

@kmod
Copy link
Collaborator

kmod commented Jan 27, 2021

Thanks for checking us out! Good question, it parses the flag just as an integer, I made the wiki a bit more clear.

Our understanding of the tradeoff is still evolving, but we haven't seen any of our benchmarks come close to the limit. We put the limit in just to avoid pathological cases as well as let people adjust it if they run into an issue; unless you're noticing that Pyston uses a lot more memory than CPython, I'd say it's fine to leave it at the default.

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

2 participants