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
Hazelcast 3.5.x Memory Leak using IMap #6317
Comments
@jocelynlepage: Thank you for reporting the issue and for a great reproducer! I managed to reproduce it. I can see that approximately half of partitions on each member are cleaned, but the other half still retains data. I reckon it's related to backups. |
Heapdump: http://54.87.52.100/~jara/dumps/issue6317/java_pid14221.0001_.hprof.gz For whoever will fix it: Please ping me so I can delete the dump. |
I believe it's a side-effect of #5649 Because of this check it The question is how to backport it into 3.x branch. As we cannot simply add a new |
MapPartitionDestroyOperation is now BackupAware to destroy containers on replicas
MapPartitionDestroyOperation is now BackupAware to destroy containers on replicas
@jerrinot, any update with such issue ? does it only occur under the specific scenery as the one described above ? |
… they are just backups replicas Fixes hazelcast#6317 It's not a direct backport of hazelcast#6347 as we cannot add a new operation into a maintenance branch.
@bwzhang2011: PRs fixing the leak in both master and maintenance branches are pending. This fix will be part of Hazelcast 3.5.3 which should be released soon. |
… they are just backups replicas Fixes hazelcast#6317 It's not a direct backport of hazelcast#6347 as we cannot add a new operation into a maintenance branch.
@jerrinot, thanks for feed back and make quick fix and backported plan. looking forward to new hz3.5.3 releasing and more issues to be fixed afterwards. |
Thanks guys for the quick turnaround. |
… they are just backups replicas Fixes hazelcast#6317 It's not a direct backport of hazelcast#6347 as we cannot add a new operation into a maintenance branch.
… they are just backups replicas Fixes hazelcast#6317 It's not a direct backport of hazelcast#6347 as we cannot add a new operation into a maintenance branch. (cherry picked from commit e33565d)
MapPartitionDestroyOperation is now BackupAware to destroy containers on replicas
HI jerrinot, Is this issue fixed in 3.5.3 ? |
Can I know whether anyone faced a similar issue in 3.0.1 version? |
@dushaniw 3.10.1 or 3.0.1? |
Its 3.0.x version. |
We are facing a similar bug in Production. Even after removing entry from IMap, it can be still seen in heapdump. We are using hazelcast 3.7.2 version? Did anyone face this issue with latest version? |
We are experimenting memory leaks when using IMaps.
Based on our observations, the leak seems related to the fact that we're regularly destroying maps.
Based on Heap analysis, the culprit seems to be around com.hazelcast.map.impl.MapServiceContextImpl.
Setup:
Scenario:
We did run a couple of variants with the following observations:
We wanted to update from 3.4.x since as our production system is affected by another memory leak documented here: #4888
Please find a small project on GitHub which demonstrates the problem: https://github.com/jocelynlepage/hz-map-leak
This project includes a couple of heap dump files (produced with jmap) provided for analysis.
Thanks,
Jocelyn
The text was updated successfully, but these errors were encountered: