#15095 closed bug (fixed)
Autocomplete Combobox memory leak
Reported by: | Adam Jimenez | Owned by: | Scott González |
---|---|---|---|
Priority: | minor | Milestone: | 1.12.2 |
Component: | ui.autocomplete | Version: | 1.12.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
There appears to be a memory leak with the autocomplete combobox. I can recreate it by going to the combobox demo in Chrome (54): https://jqueryui.com/autocomplete/#combobox
And then clicking the "show all items" button over and over. After around 50 times it starts to noticably slow down, keep going and it eventually slows to a crawl.
This is more apparent in my real world app, which is often left open for a long time and can contain many more autocomplete items.
Change History (5)
comment:3 Changed 6 years ago by
Owner: | set to Scott González |
---|---|
Resolution: | duplicate → fixed |
In ef2e9ba:
comment:4 Changed 6 years ago by
Milestone: | none → 1.12.2 |
---|
Note: See
TracTickets for help on using
tickets.
I am facing the same problem with my own jQuery-UI widget based on the widget factory and using the autocomplete widget internally.
But it is also reproducible with a simple test case (local source with 50 items and no filtering):
Additional notes:
Edit: Seems to be related to other performance tickets already opened:
Edit 2: There is a workaround as described by jGeek314 in 10050 :