question

63226527 avatar image
0 Votes"
63226527 asked RLWA32-6355 edited

what is system memory on MemoryMappedFile in VB.NET

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?

dotnet-visual-basic
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

RLWA32-6355 avatar image
0 Votes"
RLWA32-6355 answered RLWA32-6355 edited

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.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.