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

Solution for Java task 3 TopPhrases doesn't work for a large file #1

Open
afomina opened this issue Jul 19, 2019 · 1 comment
Open

Comments

@afomina
Copy link

afomina commented Jul 19, 2019

I tested it on 10 GB file and it fails with OutOfMemory when you take .entrySet() on a map (line 26)

@RIP21
Copy link
Owner

RIP21 commented Jul 19, 2019

Dunno. Maybe behavior of streams is changed somehow since then (for Java 10+) :) I remember that all of the solutions here were correct :P I'm not a Java dev anymore so I'm not following it much :)

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

2 participants