Questions tagged [enomem]

Use enomem for questions related to the ENOMEM message which stands for "Error, No Memory" returned by the C runtime library.

References

21 questions
0
votes
1 answer

10.13 High Sierra OSX - Python mprotect always fails when granting exec permission, with ENOMEM

Background: Writing a proof of concept that involves executing machine code within a python program. To do this on osx so I had to utilize ctypes and libc.dylib and the following function calls: (With SIP disabled) valloc to allocate aligned…
0x5929
  • 400
  • 1
  • 4
  • 16
0
votes
0 answers

Git failed with ENOMEM

git pull causes fatal: Out of memory, getdelim failed I've tried to git pc, re-installed git. I have enough free space in the RAM (more than 6GB) and something like 8GB free in the swap. I use git version 2.5.5 on the Linux, Fedora…
nekorobov
  • 1
  • 1
0
votes
0 answers

Solaris mmap for memory mapped file failing with ENOMEM

On Solaris 10 as well as Linux, I am using mmap call to create a memory mapped file and subsequently read the file from a separate process. For large memory mapped file, during reading (no writing), I am getting ENOMEM. What could be the reason and…
Dr. Debasish Jana
  • 6,980
  • 4
  • 30
  • 69
0
votes
1 answer

Why won't meteor 1.0.0 run app but crashes spawn enomem?

Made complete clean install of Centos OpenVZ server running 7 minimal 64bit, 2 'slices' of VPS with 2Gb ram, 2 cpus, 2gb swap etc, Installed virtualmin/webmin that is all, only configuration undertaken in iptables firewall, No other apps or software…
0
votes
1 answer

controlling how many child process forked based on available free memory

I am trying to take advantage of COW and fork as many child processes as the Linux system memory allows. I would start the parent process until the forking part (at which point the process is using a certain amount of memory), then fork one child at…
0
votes
2 answers

Causes of gzopen() leading to ENOMEM

I have a program whose total memory footprint is about 100 MiB (VM size, in top, while stopped in gdb) that's trying to open a new (not-yet-existent) compressed log file using gzopen. This fails, with errno set to ENOMEM, despite the fact that the…
Phil Miller
  • 36,389
  • 13
  • 67
  • 90
1
2