Skip to content

The JS/TS language service crashed 5 times in the last 5 Minutes. #15946

Closed Answered by ImBIOS
ImBIOS asked this question in Other
Discussion options

You must be logged in to vote

Found the problem and solution:

Problem

󰀵  󱑍 09:53  ﱮ cal-com    main !?+787 via  v18.20.3   3s 
 ✗  node -e 'console.log(v8.getHeapStatistics().heap_size_limit/(1024*1024))'

2096

󰀵  󱑍 09:53  ﱮ cal-com    main !?+787 via  v18.20.3 
 ➜  yarn tsc --pretty --noEmit packages/core/EventManager.test.ts 

<--- Last few GCs --->

[63836:0x673f8b0]    71923 ms: Scavenge (reduce) 2042.8 (2082.0) -> 2041.9 (2082.2) MB, 7.7 / 0.0 ms  (average mu = 0.138, current mu = 0.007) allocation failure; 
[63836:0x673f8b0]    72849 ms: Mark-sweep (reduce) 2042.9 (2082.2) -> 2041.2 (2082.2) MB, 910.3 / 0.0 ms  (average mu = 0.151, current mu = 0.164) allocation failure; scavenge might not succ…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ImBIOS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant