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
Output of node_modules/.bin/electron --version: v4.0.0
Operating System (Platform and Version): Ubuntu 18.04.1 LTS
Output of node_modules/.bin/electron --version on last known working Electron version (if applicable): 3.x
Expected Behavior
The ProcessMetric contains memory entry.
Actual behavior memory information is no longer available.
To Reproduce
let metrics = app.getAppMetrics();
console.log(metrics[0].memory);
Additional Information
I am using app.getAppMetrics() during development to check memory and CPU usage of my app. I have a task manager view as the one available in Chrome. After updated electron to v4 today I noticed that the memory property is no longer available. I saw other issues related to this: #13385, #13414, and #13383 but it's not clear whether you wanted to remove this metric or find the other way to present this information.
Will memory info be available?
The text was updated successfully, but these errors were encountered:
@jarrodek That property was deprecated in 3.0 and removed in 4.0. The appropriate runtime warnings were giving in 3.x releases and it was mentioned in our breaking changes document.
This was an intended API removal as a result of a Chromium API change
node_modules/.bin/electron --version
: v4.0.0node_modules/.bin/electron --version
on last known working Electron version (if applicable): 3.xExpected Behavior
The
ProcessMetric
containsmemory
entry.Actual behavior
memory
information is no longer available.To Reproduce
Additional Information
I am using
app.getAppMetrics()
during development to check memory and CPU usage of my app. I have a task manager view as the one available in Chrome. After updated electron to v4 today I noticed that thememory
property is no longer available. I saw other issues related to this: #13385, #13414, and #13383 but it's not clear whether you wanted to remove this metric or find the other way to present this information.Will memory info be available?
The text was updated successfully, but these errors were encountered: