high ram/memory usage
See original GitHub issue- Issue Type:
Bug
- OS Version:
Linux x64 5.3.6-1-MANJARO
- “@typescript-eslint/eslint-plugin”: “2.4.0”,
- “@typescript-eslint/parser”: “2.4.0”,
- “eslint”: “6.5.1”,
- “eslint-config-prettier”: “6.4.0”,
- “eslint-plugin-prettier”: “3.1.1”,
- “eslint-plugin-promise”: “4.2.1”,
The Ram usage of eslint is very high (~2,4GiB). Is this normal for this many rules and plugins? Is this a eslint or a typescript-eslint problem?
eslintrc.json
{
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking",
"prettier",
"prettier/@typescript-eslint",
"plugin:prettier/recommended",
"plugin:promise/recommended"
],
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint", "prettier", "promise"],
"env": {
"node": true
},
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"project": "./tsconfig.json",
"ecmaFeatures": {
"modules": true
}
},
"reportUnusedDisableDirectives": true,
"rules": {
"prettier/prettier": "warn",
"semi": ["warn", "always"],
"prefer-const": "warn",
"max-lines": [
"error",
{
"max": 300,
"skipComments": false,
"skipBlankLines": false
}
],
"arrow-body-style": "error",
"curly": "warn",
"dot-notation": "error",
"eol-last": "error",
"no-caller": "error",
"no-debugger": "error",
"no-new-wrappers": "error",
"no-throw-literal": "error",
"no-undef-init": "error",
"no-var": "error",
"radix": "error",
"no-alert": "error",
"no-console": ["error", { "allow": ["warn", "error", "log"] }],
"no-proto": "error",
"no-new-func": "error",
"lines-between-class-members": [
"warn",
"always",
{
"exceptAfterSingleLine": true
}
],
"spaced-comment": "warn",
"guard-for-in": "warn",
"prefer-spread": "off",
"no-restricted-imports": ["error", "rxjs/Rx"],
"quotes": ["warn", "single"],
"quote-props": ["warn", "as-needed"],
"max-lines-per-function": ["warn", { "max": 75, "skipComments": true }],
"@typescript-eslint/no-namespace": "off",
"@typescript-eslint/camelcase": "warn",
"@typescript-eslint/type-annotation-spacing": "warn",
"@typescript-eslint/no-inferrable-types": [
"warn",
{
"ignoreParameters": true,
"ignoreProperties": false
}
],
"@typescript-eslint/no-explicit-any": "warn",
"@typescript-eslint/consistent-type-assertions": "warn",
"@typescript-eslint/no-empty-interface": "error",
"@typescript-eslint/no-misused-new": "error",
"@typescript-eslint/no-non-null-assertion": "error",
"@typescript-eslint/member-ordering": "warn",
"@typescript-eslint/unified-signatures": "warn",
"@typescript-eslint/consistent-type-definitions": ["warn", "interface"],
"@typescript-eslint/class-name-casing": "warn",
"@typescript-eslint/no-use-before-define": "off",
"@typescript-eslint/unbound-method": [
"error",
{
"ignoreStatic": true
}
],
"@typescript-eslint/explicit-member-accessibility": ["warn", { "accessibility": "no-public" }],
"@typescript-eslint/explicit-function-return-type": ["warn", { "allowExpressions": true }]
}
}
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:9 (3 by maintainers)
Top Results From Across the Web
Windows 10 High Memory Usage [Causes and Solutions]
How to Fix Windows 10 High Memory Usage · Close unnecessary programs. · Disable startup programs. · Disable Superfetch service. · Increase virtual ......
Read more >High memory usage. How to fix them - Microsoft Community
1) See fixes for high RAM usage: · 2) Optimize Virtual Memory: · 3) Type Resource in Search box, open Resource Monitor as...
Read more >How to Fix High Memory Usage in Windows - Make Tech Easier
How to Fix High Memory Usage in Windows · 1. Close Unnecessary Programs and Applications · 2. Remove Unwanted Programs from Your PC...
Read more >Why is my RAM usage so high when nothing is running?
Possible reasons for high RAM usage · PC has too many programs that start during the startup · Potential Virus attack · Registry...
Read more >How To Stop RAM Usage in Windows 10 (Prevent High Usage)
How To Stop RAM Usage in Windows 10 (Prevent High Usage) · Close unused background programs. · Disable startup programs. · Uninstall programs...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Issue got mostly resolved duo to an update of typescript-eslint to version 2.5.0 (just released) which drops the ram usage to about ~1GiB 🎉 and also fixes some other bugs 🎉 🎉
@mustafa-cosar I think your problem got fixed in https://github.com/typescript-eslint/typescript-eslint/issues/1107 with the new 2.5.0 of typescript-eslint