You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I have the "Data" tab open in Ember Inspector when deleting a record, I see a massive memory leak in Chrome and the record never actually deletes. The page locks up. Memory usage gradually skyrockets until my machine becomes unusable. If Ember Inspector is closed when I delete a record, the issue does not occur, the record deletes, and everything works without issue.
I saw this issue on a real project of mine, but I figured it was because of something wrong that I was doing so I resigned myself to not being able to using Ember Inspector because of my own mistake.
Open whatever monitor you would use to view memory usage (e.g. Activity Monitor on macOS)
Navigate to /rentals
Open the "Data" tab on Ember Inspector
Click "Delete" on one of the rentals in Chrome
Watch Chrome memory usage skyrocket and the page lock up.
Kill the tab, and the memory usage subsides.
No errors are thrown in the console, but the record doesn't delete. Notice the "pointer" mouse cursor. The page totally locks up. Everything works fine if Ember Inspector's "Data" tab is not open when I delete the record.
I can easily repeat this bug both with super rentals and my real large-scale app.
Technically, I am not deleting the record in the demo I posted above. I am unloading the record from the store.
this.get('store').unloadRecord(rental);
However, I see the same issue with my real app if I do an actual delete
I was hoping to use Ember Inspector to diagnose an unrelated issue I'm seeing with record deletes, but unfortunately, I cannot. Please let me know if I can do anything to help with this, or to help with Ember Inspector in general.
Version 61.0.3163.100 (Official Build) (64-bit)
macOS 10.12.6 (16G29)
Ember Inspector 2.1.1
The text was updated successfully, but these errors were encountered:
@williamhaley thank you for the detailed bug report! I believe this is the same issue addressed in emberjs/ember.js#15604. Can you try upgrading to Ember >= 2.15.2 and let me know if it's resolved?
If I have the "Data" tab open in Ember Inspector when deleting a record, I see a massive memory leak in Chrome and the record never actually deletes. The page locks up. Memory usage gradually skyrockets until my machine becomes unusable. If Ember Inspector is closed when I delete a record, the issue does not occur, the record deletes, and everything works without issue.
I saw this issue on a real project of mine, but I figured it was because of something wrong that I was doing so I resigned myself to not being able to using Ember Inspector because of my own mistake.
But then I found I was able to recreate the issue with the super rentals demo app.
My demo app is pretty much identical to super rentals except for the ability to "delete" records.
ember s
/rentals
No errors are thrown in the console, but the record doesn't delete. Notice the "pointer" mouse cursor. The page totally locks up. Everything works fine if Ember Inspector's "Data" tab is not open when I delete the record.
I can easily repeat this bug both with super rentals and my real large-scale app.
Technically, I am not deleting the record in the demo I posted above. I am unloading the record from the store.
However, I see the same issue with my real app if I do an actual delete
I was hoping to use Ember Inspector to diagnose an unrelated issue I'm seeing with record deletes, but unfortunately, I cannot. Please let me know if I can do anything to help with this, or to help with Ember Inspector in general.
The text was updated successfully, but these errors were encountered: