got icon indicating copy to clipboard operation
got copied to clipboard

Cause Memory leak when visit some specific link

Open yuribrown opened this issue 2 years ago • 2 comments
trafficstars

<--- Last few GCs --->

[24:0x5e765b0] 47265 ms: Scavenge 986.1 (1004.4) -> 986.1 (1005.4) MB, 5.9 / 0.0 ms (average mu = 0.206, current mu = 0.157) allocation failure [24:0x5e765b0] 47276 ms: Scavenge 987.1 (1005.4) -> 987.1 (1010.1) MB, 8.0 / 0.0 ms (average mu = 0.206, current mu = 0.157) allocation failure

<--- JS stacktrace --->

FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory 1: 0xb0a860 node::Abort() [/usr/local/bin/node] 2: 0xa1c193 node::FatalError(char const*, char const*) [/usr/local/bin/node] 3: 0xcf9a6e v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [/usr/local/bin/node] 4: 0xcf9de7 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [/usr/local/bin/node]

yuribrown avatar Feb 19 '23 22:02 yuribrown

This url: https://www.symteraanalytics.com/file&tbl=HPLC-Allcsv1530999601

When 'got' is trying to reach this url on Ubuntu 20.0.4 with memory 2GB. It caused the error of memory leak above. Although I set timeout of 5s, but it seems just not working.

However, the same code is running well on another computer with memory of 8GB, and can throw ETIMEOUT error.

yuribrown avatar Feb 19 '23 23:02 yuribrown

Hi, we might be experiencing a similar issue since we also use timeouts on the requests made using got. Did you resolve your problem?

kevinlul avatar Aug 18 '23 03:08 kevinlul