Skip to content

ICE: unable to allocate fiber: The paging file is too small for this operation to complete. (os error 1455) #137536

Open
@ABouttefeux

Description

@ABouttefeux

ICE linked with async closure and incremental compilation

Code

I could not reproduce a minimal code.

  • First compile this project (you need a postgres server running, we provide some docker file for it )
  • then changing this line
    by removing the async

When the ICE occurs rustc uses massive amounts of memory.
Clearing and compiling with the change just produces the expected error.

Meta

rustc --version --verbose:

rustc 1.87.0-nightly (f04bbc60f 2025-02-20)
binary: rustc
commit-hash: f04bbc60f8c353ee5ba0677bc583ac4a88b2c180
commit-date: 2025-02-20
host: x86_64-pc-windows-msvc
release: 1.87.0-nightly
LLVM version: 20.1.0

also occurs in

rustc 1.85.0 (4d91de4e4 2025-02-17)
binary: rustc
commit-hash: 4d91de4e48198da2e33413efdcd9cd2cc0c46688
commit-date: 2025-02-17
host: x86_64-pc-windows-msvc
release: 1.85.0
LLVM version: 19.1.7

Error output

no error output

Backtrace

(too long to paste)

nightly rustc-ice-2025-02-24T08_14_31-24476.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-incr-compArea: Incremental compilationC-bugCategory: This is a bug.E-needs-mcveCall for participation: This issue has a repro, but needs a Minimal Complete and Verifiable ExampleI-compilememIssue: Problems and improvements with respect to memory usage during compilation.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions