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
Second, there appears to be a memory leak for batched functions in Chrome.
os: macOS 10.14.4
browser: Chrome 74.0.3729.157
react-easy-state@6.1.1
react@16.8.6
I noticed the heap growing linearly in my app as it polls for data from a rest api. I narrowed it down to the batched callbacks mechanism in scheduler.js using the chrome devtools/Memory profiler.
The memory gets released when the globalObj batched method assignments are removed from scheduler.js.
This behavior is also observable on the beer finder demo. With the Memory profiler - Allocation instrumentation on timeline running just repeatedly enter queries into the search.
beer finder
The text was updated successfully, but these errors were encountered:
First, thanks for an excellent library!
Second, there appears to be a memory leak for batched functions in Chrome.
react-easy-state@6.1.1
react@16.8.6
I noticed the heap growing linearly in my app as it polls for data from a rest api. I narrowed it down to the batched callbacks mechanism in
scheduler.js
using the chrome devtools/Memory profiler.The memory gets released when the
globalObj
batched method assignments are removed fromscheduler.js
.devtools/Memory/Allocation instrumentation timeline
This behavior is also observable on the beer finder demo. With the Memory profiler - Allocation instrumentation on timeline running just repeatedly enter queries into the search.
beer finder
The text was updated successfully, but these errors were encountered: