what is system memory on MemoryMappedFile in VB.NET

동호 이 1 Reputation point
2022-09-20T10:13:48.013+00:00

VB.NET Function Menual In visual studio, ''create or opens a memory-mapped file that has the specified capacity in system memory'',
Is the system memory RAM or C drive?

Developer technologies | VB
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. RLWA32 49,636 Reputation points
    2022-09-20T10:18:20.717+00:00

    From https://learn.microsoft.com/en-us/dotnet/standard/io/memory-mapped-files -- "A memory-mapped file contains the contents of a file in virtual memory."

    Memory-mapped files are backed by either an actual file on disk or the system page file.

    I'm guessing that you are asking about non-persisted memory mapped files. So in that context, the phrase is referring to virtual memory that will be back by the system page file.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.