Open
Description
Hey. We encountered a memory leak problem on server (nextjs page router) after update redux-toolkit
from 1.9.5 to 2.4.0. After investigating the heap snapshot, we found that the problem was in the reselect (describe in reduxjs/reselect#635).
A temporary fix is to use this lruMemoize
for createSelector instead of weakMapMemoize
. But anyway I think this information should be described in the documentation (may be in migration guide) because this is clearly not expected behavior (I mean memory leak).
Metadata
Metadata
Assignees
Labels
No labels