[Mono-list] MemoryMappedFile is not yet available on mono?

J.P. mailing at mono.developer.kr
Wed Nov 17 04:28:49 EST 2010


Hi.

I success to use it on Windows but failed on linux. Was I wrong to
run? MemoryMappedFile is not yet available on mono?

I really hope so use memorymappedfile with mono on linux server.

Regards,
J.P. Park



# mono -V
Mono JIT compiler version 2.9 (master/32340d1 Wed Nov 17 08:51:37 KST 2010)
Copyright (C) 2002-2010 Novell, Inc and Contributors. www.mono-project.com
 TLS:           __thread
SIGSEGV:       altstack
Notifications: epoll
 Architecture:  amd64
Disabled:      none
Misc:          softdebug
 LLVM:          yes(2.8svn-mono)
GC:            Included Boehm (with typed GC and Parallel Mark)

# mono Macau.exe

Unhandled Exception: System.IO.FileNotFoundException: No such file or
directory ---> Mono.Unix.UnixIOException: No such file or directory
[ENOENT].
  at Mono.Unix.UnixMarshal.ThrowExceptionForLastError () [0x00000] in
<filename unknown>:0
  at System.IO.MemoryMappedFiles.MemoryMappedFile.CreateFromFile
(System.String path, FileMode mode, System.String mapName, Int64 capacity,
MemoryMappedFileAccess access) [0x00000] in <filename unknown>:0
  at System.IO.MemoryMappedFiles.MemoryMappedFile.CreateNew (System.String
mapName, Int64 capacity, MemoryMappedFileAccess access,
MemoryMappedFileOptions options,
System.IO.MemoryMappedFiles.MemoryMappedFileSecurity
memoryMappedFileSecurity, HandleInheritability handleInheritability)
[0x00000] in <filename unknown>:0
  at System.IO.MemoryMappedFiles.MemoryMappedFile.CreateNew (System.String
mapName, Int64 capacity, MemoryMappedFileAccess access) [0x00000] in
<filename unknown>:0
  at Macau.Program.Main () [0x00000] in <filename unknown>:0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20101117/d6632e2b/attachment-0001.html 


More information about the Mono-list mailing list