-
-
Notifications
You must be signed in to change notification settings - Fork 806
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
Out of memory (>60G) from scons.py compiling Marlin #4272
Comments
Same issue here on Windows with fresh install. Python eats up all memory (~30Gb) a couple of times (causing system to have a high cpu and disk activity, for swap?) and eventually:
|
Could you re-run See https://github.com/MarlinFirmware/Marlin/actions/runs/2338187390 |
@ivankravets it was my problem this morning. Like I said in the post MarlinFirmware/Marlin#24194 the problem was solved after update to the dev version |
Yes, it was exactly my problem: MemoryError. I searched in the net any problem by this, but I found nothing and then I searched by the warnings in log and I found the post where you recommends update to the dev version. |
Thank you so much for the clarification! Duplicate of #4270 |
It starts building now, but I have errors like: |
Yes, it seems this is not related to the PlatormIO. |
Yeah, apparently theres a bugfix and release version with the same version, and they are incompatible. Works now, thanks! |
What kind of issue is this?
I tried to compile Marlin from my personal fork https://github.com/larroy/Marlin/tree/pedro_bugfix which was working fine in platformIO for lpc1769
After a few days, with no changes to the code (tried several revisions back which I had previously compiled) scons.py keeps ballooning and using all the memory available. This happened in Windows 10 and also Linux. I tried uninstalling Platform IO several times, cleaning up data and home directories, switching to PIO in Linux...
This is the process which is eating all the memory:
In windows is also Python but I don't know how to see the commandline.
Question.
This issue tracker is not the place for questions. If you want to ask how to do something,
or to understand why something isn't working the way you expect it to,
use Community Forums or Premium Support
PlatformIO IDE.
All issues related to PlatformIO IDE should be reported to appropriate repository:
PlatformIO IDE for Atom or
PlatformIO IDE for VSCode
Development Platform or Board.
All issues (building, uploading, adding new boards, etc.) related to PlatformIO development platforms
should be reported to appropriate repository related to your hardware
https://github.com/topics/platformio-platform
Feature Request.
Start by telling us what problem you’re trying to solve. Often a solution
already exists! Don’t send pull requests to implement new features without first getting our
support. Sometimes we leave features out on purpose to keep the project small.
PlatformIO Core.
If you’ve found a bug, please provide an information below.
You can erase any parts of this template not applicable to your Issue.
Configuration
Operating system: Windows 10, Linux Ubuntu 21.10
PlatformIO Version (
platformio --version
): v2.4.3Description of problem
See above
Steps to Reproduce
Actual Results
Out of memory.
Expected Results
Successful build
If problems with PlatformIO Build System:
The content of
platformio.ini
:See https://github.com/larroy/Marlin/blob/pedro_bugfix/platformio.ini
Source file to reproduce issue:
See linked branch above.
Additional info
The text was updated successfully, but these errors were encountered: