Skip to content

Heap errors building #23574

@racerx2

Description

@racerx2

Current Behaviour

The massive amounts of heap errors building with windows on a 13900k cpu with 32 gigs of ddr5 ram:
compiler limit: internal heap limit reached
'VER_COMPANYNAME_STR': macro redefinition
'VER_PRODUCTVERSION': macro redefinition
'VER_PRODUCTVERSION_STR': macro redefinition

Failed to create virtual memory for PCH
compiler limit: internal heap limit reached
cannot open input file '..\game\RelWithDebInfo\game.lib'
page file is set correctly
project built last week now its not

Logs and Screenshots

No response

Operating System

win 11

Dependencies & versions

again i built this last week and it built fine. did get some errors but setting windows virtual memory fixed issues then:
Initial size: 16384 MB (16 GB)
Maximum size: 32768 MB (32 GB)
now in VS2022 tools/projects and solutions/build and run/ maximum number of parallel project builds lowering down to just 2 even gives the heap errors still
i really dont want to have to disable PCH in cmake

Commit

0bb40fd 2025-11-08 23:31:01 +0100

Additional Context

No response

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