We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Map<Long, Object> map = new NonBlockingHashMap<Long, Object>(); for (long i = 0;;i++) { map.put(i, i); map.remove(i); }
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space at org.cliffc.high_scale_lib.NonBlockingHashMap$CHM.resize(NonBlockingHashMap.java:863) at org.cliffc.high_scale_lib.NonBlockingHashMap$CHM.access$3(NonBlockingHashMap.java:794) at org.cliffc.high_scale_lib.NonBlockingHashMap.putIfMatch(NonBlockingHashMap.java:649) at org.cliffc.high_scale_lib.NonBlockingHashMap.putIfMatch(NonBlockingHashMap.java:354) at org.cliffc.high_scale_lib.NonBlockingHashMap.put(NonBlockingHashMap.java:313)
It is really serious bug because this make it unusable in many cases.
Same issue was addressed at
In the README file please add some notices about its limitation .
The text was updated successfully, but these errors were encountered:
This problem is serious, how can I avoid it?
Sorry, something went wrong.
i just got on my feed, you should never do this, this is not a bug. why would someone want to add something and remove it?
In some hot operations, this is indeed the case
No branches or pull requests
It is really serious bug because this make it unusable in many cases.
Same issue was addressed at
In the README file please add some notices about its limitation .
The text was updated successfully, but these errors were encountered: