plotly / plotly/react-plotly.js
JavaScript heap out of memory error with the quickstart Plot example.
還沒有人認領這個 Issue。
- 主要語言
- JavaScript
- 星號
- 1.1k
- 分支
- 138
- 平均合併
- 3 天 2 小時
- 30 天內合併 PR
- 4
描述
I get the following error if i add a component with the quickstart and run npm start. I have the latest version of both react-plotly.js (2.3.0) and plotly.js (1.47.1)
`Compiling...
<--- Last few GCs --->
[17798:0x2708820] 469928 ms: Mark-sweep 1302.4 (1429.6) -> 1302.3 (1429.6) MB, 2350.9 / 0.0 ms allocation failure GC in old space requested
[17798:0x2708820] 472353 ms: Mark-sweep 1302.3 (1429.6) -> 1302.3 (1422.6) MB, 2425.0 / 0.0 ms last resort GC in old space requested
[17798:0x2708820] 474681 ms: Mark-sweep 1302.3 (1422.6) -> 1302.3 (1421.1) MB, 2327.7 / 0.0 ms last resort GC in old space requested
<--- JS stacktrace --->
==== JS stack trace =========================================
0: ExitFrame [pc: 0x32090c30427d]
Security context: 0x38b7ade206a9
1: _append [/home/squeakycheese/Development/git/stockkly/node_modules/@babel/generator/lib/buffer.js:~112] [pc=0x32090ce90eef](this=0x56dca2fd981 ,str=0x3d2c8a736e69 <String[1]: >,line=48172,column=22,identifierName=0x3d2c8a702201 ,filename=0x3d2c8a702201 ,force=0x3d2c8a7022e1 )
2: word [/home/sque...
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
1: node::Abort() [node]
2: 0x876afc [node]
3: v8::Utils::ReportOOMFailure(char const*, bool) [node]
4: v8::internal::V8::FatalProcessOutOfMemory(char const*, bool) [node]
5: 0xdd42b1 [node]
6: v8::internal::Factory::NewUninitializedFixedArray(int, v8::internal::PretenureFlag) [node]
7: 0xdaf00f [node]
8: v8::internal::Runtime_GrowArrayElements(int, v8::internal::Object**, v8::internal::Isolate*) [node]
9: 0x32090c30427d`
貢獻指南
這個儲存庫沒有索引到貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
從包含 的 quickstart 範例開始,使用回報的 react-plotly.js 2.3.0 和 plotly.js 1.47.1 版本,透過 npm start 重現該故障。檢查 node_modules/@babel/generator/lib/buffer.js 附近的堆疊追蹤,並將 quickstart 的建置與一個正常運作的範例進行比較。當 quickstart 能夠在不出現 JavaScript 堆積記憶體不足錯誤的情況下完成編譯時,即表示完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- javascript, plotly, react
- 領域
- data-visualization, frontend
- Issue 類型
- 缺陷
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100