Skip to content

fatal error: Too many open files during building on macOS #1360

Description

@MAJigsaw77
Image Image

For some reason since aafc1d4, macOS compile seems to give this weird fatal error Too many open files after some closer inspection, it seems that Terminal.app is defaulting the ulimit -n to 256 which hxcpp seems to not like, VSCode seems to default it to a much bigger value, after doing ulimit -n 512 the fatal error completely disappeared, i think the best solution in this case is to make the BuildTool set ulimit -n to a bigger value if the current value is too small.

I have to mention that im encountering all this on macOS Tahoe 26.5.2 on a MacBook Pro M5.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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