Memory allocation problems on RHEL 6.3 kernel version 2.6.32-279.el6.x86_64

Amit Agarwal amit at amit-agarwal.co.in
Fri Jul 11 00:50:46 EDT 2014


Hi Rik,

On 10-07-2014 11:38, Rik van Riel 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.
I know that. On another system with same operating system and kernel 
version, the application comes up with about 3.5GB, so the application 
should be able to come up on this system as well. But on this particular 
system, the application is crashing in "mmap" for a dynamic library at 
about 2.8GB memory usage, which seems un-usual to me.

--
Thanks,
-aka



More information about the Kernelnewbies mailing list