Skip to content

default codegen-units is too high for some devices #17205

Description

@Rudxain

Problem

helix-editor/helix#14269 (comment)

I had to set codegen-units = 4 on my phone (8cores and 4GB RAM); because the default (for that core-count) codegen-units = 8 triggers the Low-Memory-Killer and forcefully-reboots near the end of cargo build

Steps

  1. Clone the Helix repo (or any "big" repo)
  2. Build it from source on a device with many CPU cores and little RAM
  3. Swapping and thrashing happens, LMK triggered, worst-case auto-reboot (Android)

Possible Solution(s)

No response

Notes

No response

Version


Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: bugS-triageStatus: This issue is waiting on initial triage.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions