increase the memory size

On Thu, Dec 15, 2011 at 12:01 PM, Ankita (Garg) Goel
<gargank...@gmail.com>wrote:

> Hi,
>
> I just setup gem5. When running the sample hello test program, I get the
> following error:
>
> command line: build/ALPHA_SE/gem5.opt configs/example/se.py -c
> tests/test-progs/hello/bin/alpha/linux/hello
> Global frequency set at 1000000000000 ticks per second
> mmap: Invalid argument
> fatal: Could not mmap!
>  @ cycle 0
> [PhysicalMemory:build/ALPHA_SE/mem/physical.cc, line 100]
>  Memory Usage: 69060 KBytes
>
> I have confirmed that the amount of memory being requested is less than
> the memory present on the system (using AddrRange(512MB)).
>
> Any ideas on what I could be doing wrong ? Thanks for your help!
>
> Regards,
> Ankita
>
> On Wed, Nov 16, 2011 at 9:01 AM, Mahmood Naderan <mahmood...@gmail.com>wrote:
>
>> ok the problem solved because I wrongly set the physical memory more
>> than host's physical memory.
>>
>> was
>> physmem = PhysicalMemory(range=AddrRange("4096MB"))
>>
>> should be
>> physmem = PhysicalMemory(range=AddrRange("512MB"))
>>
>>
>> On 11/16/11, Mahmood Naderan <mahmood...@gmail.com> wrote:
>> > Dear all,
>> > On a new machine, I get this error:
>> >
>> > Global frequency set at 1000000000000 ticks per second
>> > mmap: Cannot allocate memory
>> > fatal: Could not mmap!
>> >  @ cycle 0
>> > [PhysicalMemory:build/X86_SE/mem/physical.cc, line 100]
>> > Memory Usage: 71952 KBytes
>> >
>> >
>> > however the "free" command shows:
>> >
>> > mahmood@mpc:~/gem5$ free -m
>> >              total       used       free     shared    buffers
>> cached
>> > Mem:          1594        348       1245          0         36
>>  116
>> > -/+ buffers/cache:        194       1399
>> > Swap:          664          0        664
>> >
>> >
>> > and the machine is x86_64
>> >
>> > mahmood@mpc:~/gem5$ uname -a
>> > Linux mpc 3.0.0-12-generic #20-Ubuntu SMP Fri Oct 7 14:56:25 UTC 2011
>> > x86_64 x86_64 x86_64 GNU/Linux
>> >
>> >
>> > Is there any idea about that?
>> > --
>> > // Naderan *Mahmood;
>> >
>>
>>
>> --
>> --
>> // Naderan *Mahmood;
>> _______________________________________________
>> gem5-users mailing list
>> gem5-users@gem5.org
>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>>
>
>
>
> --
> Regards,
> Ankita
>
>
>
> _______________________________________________
> gem5-users mailing list
> gem5-users@gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>



-- 

*thanks&regards
*
*BISWABANDAN*
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to