Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VSCode crashing with large XML and Markdown files. #162842

Open
RCcola1987 opened this issue Oct 6, 2022 · 8 comments
Open

VSCode crashing with large XML and Markdown files. #162842

RCcola1987 opened this issue Oct 6, 2022 · 8 comments
Assignees
Labels
info-needed Issue requires more information from poster
Milestone

Comments

@RCcola1987
Copy link

Does this issue occur when all extensions are disabled?: Yes/No

  • VS Code Version:
  • OS Version:

System Specs:
Windows 10 pro 64bit 1909
128gb ram

VScode info
Version: 1.71.2 (user setup)
Commit: 74b1f97
Date: 2022-09-14T21:03:37.738Z
Electron: 19.0.12
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: 10.2.154.15-electron.0
OS: Windows_NT x64 10.0.18363
Sandboxed: No

Steps to Reproduce:

  1. Open File
  2. Either allow VScode to remove bad line ends or run a plugin on file

File is 1.01 gb and 15,261,586 lines

@mjbvz mjbvz assigned rebornix and unassigned mjbvz Oct 6, 2022
@rebornix
Copy link
Member

rebornix commented Oct 6, 2022

Can you try to experiment with running VS Code with a large memory cap code --max-memory to see if it fixes the problem?

@rebornix rebornix added info-needed Issue requires more information from poster ~info-needed Issue requires more information from poster (with bot comment) and removed info-needed Issue requires more information from poster labels Oct 6, 2022
@VSCodeTriageBot
Copy link
Collaborator

Thanks for creating this issue! We figured it's missing some basic information or in some other way doesn't follow our issue reporting guidelines. Please take the time to review these and update the issue.

Happy Coding!

@VSCodeTriageBot VSCodeTriageBot added info-needed Issue requires more information from poster and removed ~info-needed Issue requires more information from poster (with bot comment) labels Oct 6, 2022
@RCcola1987
Copy link
Author

How does it not meet the guidelines?

@RCcola1987
Copy link
Author

RCcola1987 commented Oct 6, 2022

With a large memory pool i get error
The window has crashed (reason: 'oom', code:'-536870904')
it is also still crashing at the same amount of memory used.

@rebornix
Copy link
Member

@RCcola1987 did you try with a larger max-memory (larger than the file size) and see if it helps?

@rebornix rebornix added this to the November 2022 milestone Oct 21, 2022
@RCcola1987
Copy link
Author

Even when you set the max memory to 64gb it will still get to like 7gb and then crash. The file is only 1.01gb.

@rebornix rebornix modified the milestones: November 2022, December 2022 Nov 23, 2022
@rebornix rebornix modified the milestones: January 2023, February 2023 Jan 23, 2023
@rebornix rebornix modified the milestones: February 2023, March 2023 Feb 17, 2023
@rebornix rebornix modified the milestones: March 2023, April 2023 Mar 21, 2023
@rebornix rebornix modified the milestones: April 2023, May 2023 Apr 24, 2023
@jiangying000
Copy link

Same issue, I open a 4g sql, give code --max-memory=12280mb. But code said It didn't recognize this parameter and crashed with oom soon

@rebornix rebornix modified the milestones: May 2023, June 2023 May 31, 2023
@rebornix rebornix modified the milestones: June 2023, July 2023 Jun 26, 2023
@rebornix rebornix modified the milestones: July 2023, August 2023 Jul 24, 2023
@rebornix rebornix modified the milestones: August 2023, September 2023 Aug 30, 2023
@rebornix rebornix modified the milestones: September 2023, October 2023 Sep 26, 2023
@rebornix rebornix modified the milestones: October 2023, November 2023 Oct 24, 2023
@rebornix rebornix modified the milestones: November 2023, December 2023 Nov 28, 2023
@rebornix rebornix modified the milestones: December / January 2024, February 2024 Jan 23, 2024
@rebornix rebornix modified the milestones: February 2024, March 2024 Feb 21, 2024
@heartacker
Copy link
Contributor

?

@rebornix rebornix modified the milestones: March 2024, April 2024 Mar 26, 2024
@rebornix rebornix modified the milestones: April 2024, May 2024 Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

6 participants