Hi Anju,

Thanks for the update. That does indeed explain it.

Andreas

From: Anju M A <[email protected]<mailto:[email protected]>>
Reply-To: gem5 users mailing list 
<[email protected]<mailto:[email protected]>>
Date: Monday, 17 March 2014 13:25
To: gem5 users mailing list <[email protected]<mailto:[email protected]>>
Subject: Re: [gem5-users] mmap error when I increase mem-size

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]<mailto:[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]<mailto:[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]<mailto:[email protected]>
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users



--
Thanks & Regards,
Anju



--
Thanks & Regards,
Anju

-- IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium. Thank you.

ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered 
in England & Wales, Company No: 2557590
ARM Holdings plc, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, 
Registered in England & Wales, Company No: 2548782
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to