Hi Andreas,

We have got some clue on this issue. The problem was that I was using
32-bit OS.
In 32-bit version, it has a limit on the amount of memory which can be
allocated per process.
The theoretical limit is  4GB. Due to this, even though my system had 16GB
of RAM, it was giving mmap error when I tried to use mem-size = 4GB. (The
same code worked well for 2GB mem-size on 32-bit machine itself).
Here's where I found the details :
https://help.ubuntu.com/community/32bit_and_64bit

I just got the OS upgraded to 64-bit on the same machine, and things are
smooth now!


On Wed, Mar 12, 2014 at 8:54 PM, Anju M A <[email protected]> wrote:

> Hi Mahmood,
>
> My OS is ubuntu 12.04 LTS, glibc is 2.15-0ubuntu10.5 and g++ is 4.6.3 and
> the machine has 16GB RAM and a swap space of 25GB. (9GB from partition and
> 16 GB from swap file )
> The same code works well in another machine with 32GB RAM.
>
>
> On Wed, Mar 12, 2014 at 7:44 PM, Mahmood Naderan <[email protected]>wrote:
>
>> Anju,
>> First you have to find is it a system related problem or gem5 bug.
>> What is your OS? G++? GLIBC?
>>
>> --
>> Regards,
>> Mahmood
>> _______________________________________________
>> gem5-users mailing list
>> [email protected]
>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>>
>
>
>
> --
> Thanks & Regards,
> Anju
>



-- 
Thanks & Regards,
Anju
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to