Limit chrome ram help needed !

Forum Forums General Software Limit chrome ram help needed !

  • This topic has 1 reply, 2 voices, and was last updated Jan 3-9:40 am by sybok.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #74548
    Member
    user65

      i need an alternative for cgroup to limit ram and CPU usage
      if anyone has recommendations please suggest
      tried using some sh bash script but for some reason didn’t work

      #74551
      Member
      sybok
        Helpful
        Up
        0
        ::

        Hi,

        this is not exactly what you ask for but…

        I have a keyboard shortcut configured to start some resource-hungry programs with lower resource priority using the utility ‘nice’.
        nice -n <value> <program> [<other options>] &
        E.g. if I am OK with the default value, the command executed when shortcut is invoked reads ‘/usr/bin/nice /usr/bin/chrome –incognito &’.
        If you have a process already running, you may adjust the “niceness” using ‘renice’.

        Also, a quick web search revealed the following link providing some other tools:
        https://askubuntu.com/questions/1367612/how-can-i-limit-the-cpu-and-ram-usage-for-a-process

        • This reply was modified 1 year, 4 months ago by sybok. Reason: Web-search link
      Viewing 2 posts - 1 through 2 (of 2 total)
      • You must be logged in to reply to this topic.