PlusOneRabbit / ranked-sync

Downloads and installs the latest ranked Beat Saber maps from ScoreSaber and BeatSaver
MIT License
8 stars 0 forks source link

JavaScript heap out of memory #1

Open untuned opened 2 years ago

untuned commented 2 years ago

It seems like a song currently on ScoreSaber causes this error, and it consistently happens every time it's run. Shows up after song 23a72.

[INFO] 23782 (Palace of Melancholia - Jabob & Joshabi) already downloaded, skipping
[INFO] 23a72 (Kabouterdans - SlimyBlob) already downloaded, skipping

<--- Last few GCs --->

[22132:00000287B90A35E0]    75791 ms: Mark-sweep 1782.3 (1815.5) -> 1536.7 (1569.9) MB, 122.5 / 0.0 ms  (+ 0.4 ms in 1 steps since start of marking, biggest step 0.4 ms, walltime since start of marking 319 ms) (average mu = 0.945, current mu = 0.883) allo[22132:00000287B90A35E0]    76255 ms: Mark-sweep 2110.5 (2143.7) -> 1473.0 (1506.1) MB, 187.4 / 0.0 ms  (average mu = 0.870, current mu = 0.596) allocation failure scavenge might not succeed

<--- JS stacktrace --->

FATAL ERROR: invalid array length Allocation failed - JavaScript heap out of memory
 1: 00007FF6A0F1F34F RC4_options+3201487
 2: 00007FF6A0EA6EC6 RC4_options+2708806
 3: 00007FF6A0EA7FE6 RC4_options+2713190
 4: 00007FF6A1A69FAE RC4_options+15042094
 5: 00007FF6A1A49DC1 RC4_options+14910529
 6: 00007FF6A1886EFC RC4_options+13063548
 7: 00007FF6A18BC5BE RC4_options+13282366
 8: 00007FF6A16F66C9 RC4_options+11423049
 9: 00007FF6A14F7CC5 RC4_options+9331525
10: 00007FF6A1AF79DD RC4_options+15622237
11: 000001952129E501

[process exited with code 134 (0x00000086)]
Eking103 commented 2 years ago

I also have the same problem using the binary except it is on a different song (likely due to different maps being ranked) I do not know how to fix this though.