It's a bug either on your code or mono's. Can you post a small sample of what causes your problem?
There's a know limitation on mono and unix that the mmap file must exist on the file system unlike windows. On Wed, Nov 17, 2010 at 7:28 AM, J.P. <[email protected]> wrote: > 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 > > > > _______________________________________________ > Mono-list maillist - [email protected] > http://lists.ximian.com/mailman/listinfo/mono-list > >
_______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
