-
Notifications
You must be signed in to change notification settings - Fork 20
Memory limit tuning #166
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
Memory limit tuning #166
Conversation
removed mac that has dynamic swap limit
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
User description
disables total memory check for mac - which are mostly dev laptops and have dynamic swaps
for linux sets the total memory limit as 85% of main memory + swap
PR Type
Enhancement
Description
Restrict memory limit to Linux only
Include swap in memory calculation
Increase limit factor to 85%
Compute swap size dynamically
Changes walkthrough 📝
pytest_plugin.py
Enhance Linux memory limit calculation
codeflash/verification/pytest_plugin.py
/proc/swaps
swap_size
intototal_memory