iliazeus / vscode-ansi

VS Code extension enabling ANSI color styling for text documents
https://marketplace.visualstudio.com/items?itemName=iliazeus.vscode-ansi
MIT License
57 stars 6 forks source link

Crash on large files #13

Closed T1MOXA closed 1 year ago

T1MOXA commented 2 years ago
<--- Last few GCs --->
[21408:00005C7200000000]    95962 ms: Scavenge (reduce) 3744.0 (3947.8) -> 3743.6 (3947.8) MB, 3.9 / 0.0 ms  (average mu = 0.685, current mu = 0.468) allocation failure 
[21408:00005C7200000000]    95971 ms: Scavenge (reduce) 3744.6 (3948.0) -> 3744.2 (3948.5) MB, 3.5 / 0.0 ms  (average mu = 0.685, current mu = 0.468) allocation failure 
[21408:00005C7200000000]    95980 ms: Scavenge (reduce) 3745.1 (3948.8) -> 3744.7 (3948.8) MB, 4.0 / 0.0 ms  (average mu = 0.685, current mu = 0.468) allocation failure 
<--- JS stacktrace --->
FATAL ERROR: MarkCompactCollector: young object promotion failed Allocation failed - JavaScript heap out of memory

ERR Extension host (LocalProcess) terminated unexpectedly. The following extensions were running: vscode.microsoft-authentication, vscode.debug-auto-launch, vscode.git-base, iliazeus.vscode-ansi, vscode.git, vscode.github

The problem appeared when opening a 13 MB log file

iliazeus commented 1 year ago

I've tried to optimize memory usage in the latest version. Can you please verify if the extension still crashes?

iliazeus commented 1 year ago

Closing this as completed. Feel free to reopen if the problem persists.