leetcode-cli
leetcode-cli copied to clipboard
Memory allocation error
Hi,
When I execute command "leetcode stat", only the chart of easy problems is drawn. Then there is a memory allocation error:
memory allocation of 18446744073709551615 bytes failed [1] 13318 IOT instruction (core dumped) leetcode stat (The number before "IOT" is different each time)
I just manually set the programming language to cpp and input the cookie from leetcode website in the toml config file. Other than that everything shoud be default. I've tried adding RUST_BACKTRACE=1 or -d but there is no additional error message. The program was newly built with stable rust 1.58.1.
I'm not very familiar with rust. Please let me know if I can do anything else to help debug. Thanks.
which OS ru running on? @seraphlive
MacOS 12.2 on Apple M1
I'm facing the same issue. Surprisingly, leetcode stat
is requesting the same amount bytes as OP.
OS details:
Description: Ubuntu 18.04.5 LTS
Release: 18.04
Codename: bionic
You can re-product using the newest version?
I think this was fixed a while ago -- haven't tried it with the latest version.