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

Add compilation option to set memory size #433

Merged
merged 1 commit into from
Nov 5, 2022

Conversation

vinc
Copy link
Owner

@vinc vinc commented Nov 3, 2022

The kernel heap size is hardcoded to half the memory and at most 16MB because the allocator is too slow after that on QEMU without KVM support, and the processes use the rest of the memory.

A MOROS_MEMORY env var is introduced to be able to increase that hardcoded limit for applications that need more memory like those using bigint. This can also be set with the Makefile by doing make image memory=... and make qemu memory=....

@vinc vinc merged commit 778de3c into trunk Nov 5, 2022
@vinc vinc deleted the feature/add-memory-option-to-makefile branch November 5, 2022 08:40
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

Successfully merging this pull request may close these issues.

1 participant