When using Toplists in PRTG for Packet Sniffers or NetFlow Collectors you should be aware that it can take a considerable amount of memory. This article explains some details.
The memory usage for top lists of a sensor is composed of two parts:
The size of each list is calculated by mutiplying the size of one entry with the total number of entries. The size of one entry depends on the number and kind of fields selected by the user for the top list, plus 14 bytes of internal data.
| Field | Sizes of Field |
| Channel | 1 byte |
| Port, ASI or Interface | 2 bytes |
| IP | 4 bytes per FROM and/or TO IP address |
| MAC Address | 6 bytes |
| Internal Data | 14 Bytes |
So, an individual entry of a top connections list requires: 2*4 (for two IPs) + 2*2 (for two Ports) + 14 (internal data) = 26 Bytes
You can always investigate the size of the cache files in the "toplist" folder generated when exiting the application (use a representative time for the test and let it run a few intervals). This is a dump of all the toplist data in memory, so it is a good way to estimate the size of memory needed.
Please note that PRTG applies a memory overflow protection by limiting the memory available to toplists. This value can be set in the program options.