Skip to content

Memory requirements

theotherp edited this page Mar 15, 2020 · 2 revisions

How much memory Hydra needs depends on the amount of indexers you use, the size of the database (which is directly related to the number of indexers and how long it's been running) and how you use it. Stats calculation takes the most memory. For almost everything else the default memory settings should suffice. If you experience OutOfMemory errors increase the memory setting in the main config. Java uses more memory than what you configure there.

If you run a machine with very little memory I recommend sticking with Hydra 1 which only takes about 60MB of memory compared to the about 200-300MB which Hydra 2 uses.

Large databases

If you do encounter memory issues most likely your database is bigger than I anticipated it to get when I developed NZBHydra2. There are a couple of things you can do (ordered by decreasing impact):

  • Reduce how long search results are kept. The default is 3 days but even 1 is usually enough. This settings determines how long links to NZBHydra's results are valid. As you usually either instantly click them in the GUI or results are processed instantly by other tools there should be no reason to keep them in the database for long.
  • Reduce how long stats are kept. Counterintuitively stats take much more space than the history does. You might reduce the time to 4 weeks or so.
  • Don't keep any history at all. This does not affect how long search results are kept.