At 2014-07-10 02:08:04, "Rik van Riel" <[email protected]> wrote: >-----BEGIN 
PGP SIGNED MESSAGE----- >Hash: SHA1 > >On 07/09/2014 08:23 AM, Amit Agarwal 
wrote: >> Hi All, >> >> We are running a 32 bit application on RHEL6.3-64 bit 
OS with >> kernel version 2.6.32-279.el6.x86_64. >> >> While running this 
application we see the following when running >> under strace: 
mmap(offset=33230848, len=2068480) failed with >> errno=12 for the file <so 
file name> >> >> The system has enough RAM, total 16GB and about 12 GB free. > 
>The system may have enough memory, but your 32 bit application >is limited to 
slightly less than 4GB of virtual memory. > >Errno 12 corresponds to -ENOMEM. 
The process running out of its >slightly-less-than-4GB of memory corresponds 
nicely with your >system still having 12GB of free memory. > >This suggests you 
have run out of virtual memory space in the >process. > >If your program needs 
more than 4GB of memory, eg. because you have >a large data set, you need to 
use a 64 bit version of the program. > >This is not a kernel problem.

Confused.
The words "When we are running the same application on other system, it comes 
up. "
How can the program run on other systems?

Regards,
shhuiw

> >- -- >All rights reversed. >-----BEGIN PGP SIGNATURE----- >Version: GnuPG v1 
> >>Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ > 
> >>iQEcBAEBAgAGBQJTvi3EAAoJEM553pKExN6D1/QIAJ26mjn0UHz6MK1CPGywlvaZ 
> >>JuE+2JvHrImHALnQ8jxQOutNLWp9IPzB/zByoyMkqUiJkrQ15aj60pyzZ9PvzuQo 
> >>CX1ve3xMY/sf/617mRqRvbfCAbB3UArlXG4tU8OmzBdH4Qy/V6jFLY69hmFUqiXk 
> >>hMIkG7NhuptYSwPmHV7vw4qTFDVUhh/p+etPYDeuAtDcFlScZ8CjdX2pzwR8TxPr 
> >>M16UAOuhw2ONkZCO25XuM9AteKeLC85uV63gTgcm4h+W3Hqyeyebfsu7FmPkLq7v 
> >>JavXFNL9gCMeVxgvjU6A7o+NjT8HNgkh/IPdE2LrqFysE6SeU77T61AcJEMJulM= >=fmS4 
> >>-----END PGP SIGNATURE----- > 
> >>_______________________________________________ >Kernelnewbies mailing list 
> >>[email protected] 
> >>http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
_______________________________________________
Kernelnewbies mailing list
[email protected]
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Reply via email to