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

J.P. mailing at mono.developer.kr
Wed Nov 17 21:11:48 EST 2010


Maybe I think I found a bug. The method didn't work correctly. but Its
developing status has been done. So I will report to mono-dev mailing list
as soon.

2010/11/17 Rodrigo Kumpera <kumpera at gmail.com>

> 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. <mailing at mono.developer.kr> 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  -  Mono-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-list
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20101118/6556f20a/attachment.html 


More information about the Mono-list mailing list