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?

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,568 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. RLWA32 40,276 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