Skip to content

[mimalloc-redirect] Redirect fails on Win11 #1175

@ovaar

Description

@ovaar

Hey!

I seem to have found an issue on a Windows 11 machine where mimalloc-redirect fails.
For many other systems it works just fine, perhaps a recent Windows update is the cause?

  • Is there a way I can provide more information about the reason mimalloc-redirect fails?
  • "minject.exe" --force --inplace is called to reorder mimalloc dlls for the executable

mimalloc git hash: 754a98de5e2912fddbeaf24830f982b4540992f1bab4a0a8796ee118e0752bda
Operating System: Windows 11 Pro 64-bit (10.0, Build 26200) (26100.ge_release.240331-1435)

# mimalloc conan msvc.profile
settings
  arch: x86_64
  build_type: Release
  compiler: msvc
  compiler.cppstd: 23
  compiler.runtime: dynamic
  compiler.runtime_type: Release
  compiler.version: 194
  os: Windows
options
  guarded: False
  override: True
  secure: False
  shared: True
  win_redirect: True
Mimalloc version: 224
Is redirected: NO
Memory state: 1
Disable env var: 1
Verbose env var: 3
Options enabled: show_errors=ON, verbose=ON, show_stats=ON
  
mimalloc: v2.2.4, release (built on Nov 17 2025, 09:39:13)
mimalloc: option 'show_errors': 0 
mimalloc: option 'show_stats': 0 
mimalloc: option 'verbose': 3 
mimalloc: option 'eager_commit': 1 
mimalloc: option 'arena_eager_commit': 2 
mimalloc: option 'purge_decommits': 1 
mimalloc: option 'allow_large_os_pages': 0 
mimalloc: option 'reserve_huge_os_pages': 0 
mimalloc: option 'reserve_huge_os_pages_at': -1 
mimalloc: option 'reserve_os_memory': 0 KiB
mimalloc: option 'deprecated_segment_cache': 0 
mimalloc: option 'deprecated_page_reset': 0 
mimalloc: option 'abandoned_page_purge': 0 
mimalloc: option 'deprecated_segment_reset': 0 
mimalloc: option 'eager_commit_delay': 1 
mimalloc: option 'purge_delay': 10 
mimalloc: option 'use_numa_nodes': 0 
mimalloc: option 'disallow_os_alloc': 0 
mimalloc: option 'os_tag': 100 
mimalloc: option 'max_errors': 32 
mimalloc: option 'max_warnings': 32 
mimalloc: option 'max_segment_reclaim': 10 
mimalloc: option 'destroy_on_exit': 0 
mimalloc: option 'arena_reserve': 1048576 KiB
mimalloc: option 'arena_purge_mult': 10 
mimalloc: option 'purge_extend_delay': 1 
mimalloc: option 'abandoned_reclaim_on_free': 0 
mimalloc: option 'disallow_arena_alloc': 0 
mimalloc: option 'retry_on_oom': 400 
mimalloc: option 'visit_abandoned': 0 
mimalloc: option 'guarded_min': 0 
mimalloc: option 'guarded_max': 1073741824 
mimalloc: option 'guarded_precise': 0 
mimalloc: option 'guarded_sample_rate': 0 
mimalloc: option 'guarded_sample_seed': 0 
mimalloc: option 'target_segments_per_thread': 0 
mimalloc: option 'generic_collect': 10000 
mimalloc: debug level : 0
mimalloc: secure level: 0
mimalloc: mem tracking: none
mimalloc: process init: 0x2221D9C000
mimalloc-redirect: warning: standard malloc is _not_ redirected! -- using regular malloc/free. (v1.3.3)
mimalloc: using 1 numa regions
mimalloc: reserved 1048576 KiB memory

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