I use a ConcurrentHashMap (key: String, value: custom object) as one of my data structures. the map contains about 300,000 objects and will be updated frequently (about 20,000 put and 20,000 removes per minute).
It seems, that the whole program slow down after about 1 hour. Can somebody tell me if the ConcurrentHashMap is made for frequent modifications or if there is an alternative which is better for my requirements?
Thanks :)