Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21611 Discussions

Out of memory error

Altera_Forum
Honored Contributor II
2,266 Views

following is the error i'm getting when i run fitter. 

"Out of memory in module quartus_fit (2147 megabytes used) while running 32-bit Quartus II 32-bit on a 64-bit OS platform. Please use the 64-bit Quartus II 32-bit to increase memory capacity. 

[mohat3@north phy1]$ " 

 

I've attached a screenshot of it too., 

 

COULD anyone tell me if it is because of the processor (data width) or the RAM, I am asking this cause I am able to run it successfully sometimes but not always. 

 

It's kinda urgent PLZ help.
0 Kudos
10 Replies
Altera_Forum
Honored Contributor II
1,410 Views

Why not try reading the error? you need the 64-bit edition of quartus.

0 Kudos
Altera_Forum
Honored Contributor II
1,410 Views

@TRICKY  

ofcourse i understand the msg., 

but my question is why is it that i'm not getting this error always. I am using the same file the same constraints and the qsf too., 

if it was a processor related error then it shouldnt be ever possible to run it right?
0 Kudos
Altera_Forum
Honored Contributor II
1,410 Views

if you dont have the minimum required memory available (3GB for larger Arria2 and smaller Stratix4, and more for larger devices) you just have to cross your fingers.

0 Kudos
Altera_Forum
Honored Contributor II
1,410 Views

I am targetting it to a stratix 5 device., i have to meet around 220MHZ for the design., so wat is the minimum RAM space i need to have?? 

and if i can add more ram to the system then can i continue using the 32bit version??
0 Kudos
Altera_Forum
Honored Contributor II
1,410 Views

No you will need a 64-bit OS if you want to use more than 3Gb of memory. What Stratix5 device are you targetting? The bigger the device the more RAM you need.

0 Kudos
Altera_Forum
Honored Contributor II
1,410 Views

ok thank you :) 

I am targetting it to 5SGXEA7 series,
0 Kudos
Altera_Forum
Honored Contributor II
1,410 Views

32-bit Quartus 2 can only access 4gb of ram, regardless of how much there is available. 

 

IIRC, the larger Stratix 5 devices need 12GB of ram mimum.
0 Kudos
Altera_Forum
Honored Contributor II
1,410 Views

ok thanks a lot :)

0 Kudos
Altera_Forum
Honored Contributor II
1,410 Views

you can find RAM requirements here: 

 

http://www.altera.com/literature/lit-qts.jsp 

 

in: 

 

Quartus II Software version 11.1 SP 1 Device Support Release Notes
0 Kudos
Altera_Forum
Honored Contributor II
1,410 Views

Remember that everything in your PC is memory mapped. So with a 32-bit OS it has a total of 4GB to work with. All the little controllers on the motherboard, registers of your drives, PCI/PCIe cards including graphics, etc... all get placed in that 4GB address space. So to compile for large FPGAs you need a substantial amount of memory and a 64-bit OS (and 64-bit processor) to make sure it's addressable. 

 

You are probably on the hairy edge of running out of addressable memory when the compile does complete. For a Stratix V design you are going nowhere using a 32-bit OS in my opinion.
0 Kudos
Reply