mirror of
https://github.com/lldap/lldap.git
synced 2026-04-25 08:15:52 +03:00
[GH-ISSUE #660] Compilation ran my VM out of memory #238
Labels
No labels
backend
blocked
bug
cleanup
dependencies
docker
documentation
duplicate
enhancement
enhancement
frontend
github_actions
good first issue
help wanted
help wanted
integration
invalid
ldap
pull-request
question
rust
rust
tests
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/lldap-lldap#238
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @wjk on GitHub (Aug 30, 2023).
Original GitHub issue: https://github.com/lldap/lldap/issues/660
I set to compile lldap from source, following the instructions in the README. It compiled all the dependent modules, but hung when it got to the lldap binary itself. I noticed that at one point during the build, the system UI was not responsive to my inputs. I left it to sit for a while and came back to see that the compiler process was killed (as in an actual SIGKILL). Given the symptoms, it is likely that the kernel’s OOM killer did this. Does anyone have any hints as to what might be going wrong?
Environment:
@nitnelave commented on GitHub (Aug 30, 2023):
I don't know exactly, but LLDAP uses quite a few convenience crates that generate code, and those proc macros can be heavy on the compiler. I'd blame rustc and tell you to get a bigger VM :D
@Masgalor commented on GitHub (Aug 31, 2023):
If you want to build LLDAP for Debian_11 your vm will need at least 4GB of memory and 10GB of disk space (without swap).
Source