Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Gitea
  3. Memory Usage

Memory Usage

Scheduled Pinned Locked Moved Solved Gitea
4 Posts 2 Posters 17.7k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #1

      Hi Gitea users. How much memory do you guys usually allocate to your instances? At 512MB and sometimes even at 1GB of RAM I will randomly get OOM alerts for the app when nobody is using it. Unsure if it just has high usage with certain scheduled tasks or if its a memory leak but just wanted to see what other people's experience with this was like.

      1 Reply Last reply
      0
      • girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #2

        @atrilahiji I still use Gogs and had the same issue some time ago. From my logs, I found that it was mostly due to search engines going through each and every blob in every repo. For this, app configure -> Security -> robots.txt (click disable indexing). After that, I found that despite disabling bots, some bots like https://ahrefs.com/robot indexed it anyway. For this, I blacklisted their IPs from my firewall 🙂 Atleast for ahref, the list of IP is here - https://help.ahrefs.com/en/articles/78658-what-is-the-list-of-your-ip-ranges

        ? 1 Reply Last reply
        2
        • girishG girish

          @atrilahiji I still use Gogs and had the same issue some time ago. From my logs, I found that it was mostly due to search engines going through each and every blob in every repo. For this, app configure -> Security -> robots.txt (click disable indexing). After that, I found that despite disabling bots, some bots like https://ahrefs.com/robot indexed it anyway. For this, I blacklisted their IPs from my firewall 🙂 Atleast for ahref, the list of IP is here - https://help.ahrefs.com/en/articles/78658-what-is-the-list-of-your-ip-ranges

          ? Offline
          ? Offline
          A Former User
          wrote on last edited by
          #3

          @girish That seemed to do the trick! Thanks! I figured either I messed something up or Gitea just had a memory leak of some sort.

          1 Reply Last reply
          0
          • girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by
            #4

            @atrilahiji If it keeps running out of memory, keep an eye on the gogs/gitea logs. It will tell you which bot is indexing your repos (you can tell from the user agent string).

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Bookmarks
              • Search