https://bz.apache.org/bugzilla/show_bug.cgi?id=59258
--- Comment #6 from Sebb <[email protected]> --- (In reply to Philippe Mouawad from comment #5) > (In reply to Sebb from comment #4) > > I think Vladimir means that removal of the first element of those data > > structures is an expensive operation. > > Ok I agree > > > > > Therefore the 'cure' might cause other problems. > > > > As to the solution, my preference is to not try to fix it through code. > > What do you propose then ? Continue with education. > > > > However of course it would be quite cheap to start dropping entries when a > > limit is reached. > > Isn't it what my patch does ? > If it's cheap , then why not do it this way ? Sorry, meant to write 'samples' not 'entries' - i.e. don't add another entry if the list is full. That should be cheap and solves the OOM. -- You are receiving this mail because: You are the assignee for the bug.
