To create new wiki account, please join us on #znc at Libera.Chat and ask admins to create a wiki account for you. You can say thanks to spambots for this inconvenience.

ZNC Memory Usage

From ZNC
Revision as of 03:21, 7 January 2015 by Ben (talk | contribs) (Added a couple more reports)
Jump to navigation Jump to search

This page is intended to give users an idea and rough estimate of how much memory ZNC needs to run. Other users are asked to provide anecdotal reports which include memory usage as well as other relevant information.

Various factors can affect ZNC memory usage, including:

  • Number of channels (across all users on a ZNC instance)
  • Average saved buffer size of each channel
  • Whether the AutoClearChanBuffer setting is used
  • Query Buffers (if ZNC 1.5 or later)
  • Loaded modules (number, type, and function)
  • Number of users
  • System architecture (x86, x86-64, etc.)

Note: These are anecdotal reports, which are personal experiences of other ZNC users/administrators. These reports are not in any way verified, nor are any of them the least bit scientific. If exact resource usage figures are important, performing your own testing is highly recommended. As always, YMMV (your mileage may vary).

The following list doesn't include a list of modules used in each case for the sake of brevity. However, module use could have a meaningful effect on memory usage.


ZNC Version Memory Usage Number of channels Average Buffer Size AutoClearChanBuffer Number of Users System Arch
1.5 7 MB About 30 About 4,290,032,704 Yes 4 x86-64 (Ubuntu 13.10)
1.5 12 MB About 20 About 850,000 Yes 1 x86-64 (Slackware 14.1)
1.4 60.9 MB About 260 About 2,000 Yes, mostly 9 x86-64 (Debian 7.7)
1.4 22.3 MB About 100 About 100 Yes, mostly 8 x86-64 (Debian 7.7)