microsoft / microsoft/SandDance

vscode: "Allocation failed - JavaScript heap out of memory" for large dataset

Open
#110 5 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

help wanted
Dominant language
TypeScript
Stars
7.1k
Forks
573
Avg merge
8d 9h
Merged PRs (30d)
4

Description

Besides a lot of RAM available this error happens when I try to open a large CSV file (803MB).

Console shows:

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
 1: 0x562d86afdd15  [/usr/share/code/code]
 2: 0x562d86afde8a  [/usr/share/code/code]
 3: 0x562d837914f1  [/usr/share/code/code]
 4: 0x562d8383e6f2  [/usr/share/code/code] 
 5: 0x562d83846d04  [/usr/share/code/code]
 6: 0x562d83406f4c v8::internal::Factory::NewRawOneByteString(int, v8::internal::PretenureFlag) [/usr/share/code/code]
 7: 0x562d83866c64  [/usr/share/code/code]
 8: 0x562d837afe89 v8::String::Utf8Length(v8::Isolate*) const [/usr/share/code/code]
 9: 0x562d86b283ee  [/usr/share/code/code]
10: 0x562d83155781  [/usr/share/code/code]
11: 0x562d839ffd0e  [/usr/share/code/code]

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure while opening the linked 803MB CSV in the VS Code-based application, using the console error as the initial symptom to investigate. Done means the large dataset can be opened without the JavaScript heap out-of-memory failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
data-visualization, desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.