Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory allocation error #58

Open
seraphlive opened this issue Feb 7, 2022 · 5 comments
Open

Memory allocation error #58

seraphlive opened this issue Feb 7, 2022 · 5 comments

Comments

@seraphlive
Copy link

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)

image

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.

@clearloop
Copy link
Owner

which OS ru running on? @seraphlive

@seraphlive
Copy link
Author

seraphlive commented Feb 10, 2022

MacOS 12.2 on Apple M1

@jay1999ke
Copy link

I'm facing the same issue. Surprisingly, leetcode stat is requesting the same amount bytes as OP.

image

OS details:

Description:	Ubuntu 18.04.5 LTS
Release:	18.04
Codename:	bionic

@wendajiang
Copy link
Collaborator

You can re-product using the newest version?

@jay1999ke
Copy link

I think this was fixed a while ago -- haven't tried it with the latest version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants