Restrict the amount of CPU and memory resources that Chrome can consume.
Tested on Ubuntu 16.04/Linux Mint 18.
Install cgroups:
sudo apt install cgroup-bin
openapi: 3.0.0 | |
info: | |
title: Work Adventure Admin API | |
version: 0.0.1-SNAPSHOT | |
paths: | |
/api/ban: | |
get: | |
summary: verifyBanUser | |
operationId: verifyBanUserUsingGET | |
security: |
Frame-type options: | |
• --keyint <integer> (x264) | |
• -g <integer> (FFmpeg) | |
• Keyframe interval, also known as GOP length. This determines the maximum distance between I-frames. Very high GOP lengths will result in slightly more efficient compression, but will make seeking in the video somewhat more difficult. Recommended default: 250 | |
• --min-keyint <integer> (x264) | |
• -keyint_min <integer> (FFmpeg) | |
• Minimum GOP length, the minimum distance between I-frames. Recommended default: 25 | |
• --scenecut <integer> (x264) |
Restrict the amount of CPU and memory resources that Chrome can consume.
Tested on Ubuntu 16.04/Linux Mint 18.
Install cgroups:
sudo apt install cgroup-bin
The package that linked you here is now pure ESM. It cannot be require()
'd from CommonJS.
This means you have the following choices:
import foo from 'foo'
instead of const foo = require('foo')
to import the package. You also need to put "type": "module"
in your package.json and more. Follow the below guide.await import(…)
from CommonJS instead of require(…)
.