* Swap space is 2GBBoth of the first 2 child processes throws this error "errno=ENOMEM(12): Cannot allocate memory" around 700MB. And third successfully finishes its job.Hi,In my case 2 child processes from mtest01w try to allocate 1GB each and third one allocates around 100 MB.
Here are some details.* Actual physical memory: 80MB
* /proc/sys/vm/overcommit_memory is 1
* /proc/sys/vm/overcommit_ratio is 50Regards,
Shashank J Bilgi
On Wed, Jul 17, 2013 at 7:27 PM, <email@example.com> wrote:
> I have one more query, when i run mtest01w on my target, it gives a messageThat is hard to say without further analysis.
> "stopped at 731906048 bytes: errno=ENOMEM(12): Cannot allocate memory".
> Should this be considered as a test case failure, If not, why?
Generally malloc() is allowed to return ENOMEM when machine memory was
But conditions under this happens depends on ulimits, memory overcommit
settings, size and availability of swap etc.