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

Wordle application is "Killed" #24

Closed
ajschwieterman opened this issue Feb 8, 2022 · 4 comments
Closed

Wordle application is "Killed" #24

ajschwieterman opened this issue Feb 8, 2022 · 4 comments

Comments

@ajschwieterman
Copy link

When I try to execute the program via python3 wordle.py, I get the following error.

Screenshot_20220208_094528

I believe I correctly created the directories necessary for custom_config.yml.

@ajschwieterman ajschwieterman changed the title Application is "Killed" Wordle application is "Killed" Feb 8, 2022
@mug1wara26
Copy link

I get the same problem too, has anyone found a fix?
image

@mug1wara26
Copy link

mug1wara26 commented Feb 9, 2022

Upon inspecting the generate_pattern_matrix function, it seems it is killed when the for loop between the two print statements runs

image

it seems that mod_equality_grid can't be generated for some reason

@liningpan
Copy link

I think it's very likely to be memory issue.

equality_grid = np.zeros((nw1, nw2, nl, nl), dtype=bool)

Can you try changing bool to np.bool_? more information
However, matrix could still take at most 13000*13000*5*5=4225000000 bytes, which is roughly 4GB of ram.

@3b1b
Copy link
Owner

3b1b commented Feb 14, 2022

The pre-generated pattern_matrix file is now in the repo, so hopeful this is no longer needed.

@3b1b 3b1b closed this as completed Feb 14, 2022
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