Forum Discussion
out of memory in 17.0 compiler
Dear All,
I have a Nallatech 385A board and both SDKs 16.0 and 17.0. I was always successful to compile my kernels with SDK 16.0, but when I move to 17.0 I get out of memory error:*** Fatal Error: Segment Violation at (nil)
Module: quartus_syn
Stack Trace:
0x61383: google::protobuf::FileDescriptorTables::~FileDescriptorTables() + 0x43 (protobuf)
0x3c5ea: __cxa_finalize + 0x9a (c)
End-trace
Error (114016): Out of memory in module quartus_syn (2069 megabytes used)
Error: Failed to synthesize partition
Info: Saving post-synthesis snapshots for 1 partition(s)
*** Fatal Error: Segment Violation at (nil)
Module: quartus_syn
Stack Trace:
0x61383: google::protobuf::FileDescriptorTables::~FileDescriptorTables() + 0x43 (protobuf)
0x3c5ea: __cxa_finalize + 0x9a (c)
End-trace
I have 64GB of memory and I'm compiling Bloom Filter design. Does SDK 17.0 requires more memory than SDK 16.0? Thanks, Saman18 Replies
- Altera_Forum
Honored Contributor
Are you sure you use the 64bit-Version of Quartus? The numbers appear to be suspicios.
- Altera_Forum
Honored Contributor
Newer Quartus should not require more memory, and 64 GB is enough for any Arria 10 design (as long as there is only one compilation running). Have you made sure no other process is using your host memory?
- Altera_Forum
Honored Contributor
Yes we have no other process running on the system. Also I have set the environment variable "export QUARTUS_64BIT=1" as well. I don't really know why I get the above error. Is it possible that something like another env variable or package is installed in a wrong way?
- Altera_Forum
Honored Contributor
I don't think so. Have you tried any other designs? Also, have you tried to watch your memory usage with top to see how high it goes?
- Altera_Forum
Honored Contributor
I have not tried other designs yet. I was looking at htop and it doesn't seems like it's going to saturate the whole memory. I'm compiling it on the Ubuntuu machine, and I will it will not create any memory allocation boundary for applications.
- Altera_Forum
Honored Contributor
Hi,
Did you try the setting on the option panel? You can refer to the quartus handbook as https://www.altera.com/en_us/pdfs/literature/hb/qts/qts-qps-handbook.pdf Go to section 1.7.1.3 or 5.2.3 for more details. - Altera_Forum
Honored Contributor
Alright I'll definitely try it and see if it helps or not.
Thanks. - Altera_Forum
Honored Contributor
Hi,
I have taken a look at the above link, but it does not say how to make those configurations. I'm on linux with no GUI. Beside I've increase the RAM to 128, but it still fails. I have no idea what's going on :( - Altera_Forum
Honored Contributor
--- Quote Start --- Hi, I have taken a look at the above link, but it does not say how to make those configurations. I'm on linux with no GUI. Beside I've increase the RAM to 128, but it still fails. I have no idea what's going on :( --- Quote End --- I don't think those settings even apply to OpenCL. Did you try another design? Start with the hello world example. If it still failed, please attach your "quartus_sh_compile.log" file. - Altera_Forum
Honored Contributor
I have tried Hello World and ut still fails. I have attached the quartus_sh_compile.log as well.
One thing I was suspecting was the existence of protobuf library in my system. I've removed it and it still shows me the error :(