Skip to content

Running out of memory during build due to too many concurrent threads #548

@VorpalBlade

Description

@VorpalBlade

Using CircleCI the build box appears to have 35 threads. However, the system does not have enough memory to use all of those threads to build my project, resulting in running out of memory and sporadic internal compiler errors.

There should be a way to limit the maximum number of threads (passing -j to the build system). Alternatively, if this already is possible, I haven't found it in the documentation and would like to know how. (Plus the documentation should be updated to include it, if it is missing.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions