microsoft / microsoft/mimalloc

What does it mean for mi_version==201 && mi_is_redirected==0

Open
#579 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
13.4k
Forks
1.2k
Avg merge
4d 45m
Merged PRs (30d)
13

Description

Hi, I print the mi_version and mi_is_redirected in my program on Windows, and they return mi_version==201 and mi_is_redirected==0.
According to my knowledge, `mi_version==201` means mimalloc lib is linked **successfully**, and `mi_is_redirected==0` means malloc is redirected **failed**(although I have put mimalloc-override.dll in the same folder).

My 3 questions:
1. Do you think the above 2 outputs are in conflict?
1. How can I check whether mimalloc is enabled successfully for my program and DLLs?
2. If redirected failed, how can I make it successful?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file, test, or entry point is identified. Start by tracing the Windows meanings of mi_version, mi_is_redirected, and mimalloc-override.dll; done means documenting whether the outputs conflict, how to verify use by the program and DLLs, and how redirection can succeed.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
operating-systems
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.