I have an issue with my reducer in redux. When I c...
# redux
k
I have an issue with my reducer in redux. When I copy a state sometimes I get an exception:
Failed to allocate a 96 byte allocation with 3865072 free bytes and 3774KB until OOM, target footprint 536870912, growth limit 536870912; giving up on allocation because <1% of heap free after GC.
Any idea what could be causing the issue? My guess is that maybe my reducer is called too often and that is causing the issue. I am using the copy() function of the data class.