When compiling ZNC myself the compiler dies saying it does not have enough memory!

Starting from ZNC 0.062, you can use the --disable-optimization to configure. This will disable "-O2" and instead use "-O0". GCC should need less memory now.

If you still can't compile ZNC, try ./configure --disable-optimization CXXFLAGS="--param ggc-min-expand=2 --param ggc-min-heapsize=20000" but be prepared for looong wait. 

documented at http://wiki.znc.in/FAQ#The_compiler_dies_saying_it_has_not_enough_memory.21


  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How do I add the fish module to ZNC?

Fish for ZNC 1.4fetch http://www.shatow.net/fish.cpp && znc-buildmod fish.cpp &&...

I get "permission denied" when trying to connect to IRC

This indicates you probably need to set a vhost or possibly there is a problem with the vhost...

How do I upgrade my ZNC process?

Restart the ZNC process with ZNC-restart. This will update your ZNC to the latest ZNC version...

How do I reset my ZNC password from SSH?

To reset your ZNC password from SSH - [~] # znc --makepass [ ** ] Type your new password....

I've never used ZNC before but would like to learn

You can choose to have us install the ZNC for you by clicking the option on the orderform. Then...