git/list[1] front-page[2] threads[3] people[4] search[5] about
 

'fatal: Out of memory? mmap failed: No such device' using cifs

From
BBBruno Bigras <bigras.bruno@gmail.com>
Date
Jan 5, 2012, 15:44 UTC
Message-ID
<CAJwt-JmUVtjTBQf84DoR0y1FHsPbULioXqoJ+J6PHHouoV-n-w@mail.gmail.com>
Hi,

I got : 'fatal: Out of memory? mmap failed: No such device' when doing 'git init' in a directory on a mounted cifs share. Any ideas?

I'm using cifs with autofs, here's what I use :
win1
-fstype=smbfs,rw,credentials=/etc/smb.auth,gid=admin,file_mode=0777,dir_mode=0777,nocase,directio,sfu,iocharset=utf8
        ://10.1.1.8/DATA/

git version 1.7.8.2 2.6.32-37-generic-pae

$ mount //10.1.1.8/DATA/ on /net/smb/win1 type cifs (rw,mand)

Thanks,
Bruno
Message 1 of 1 in “'fatal: Out of memory? mmap failed: No such device' using cifs”
  1. Bruno BigrasJan 5, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.