I have a React project with Material UI, the problem in my case was solved by removing the direct import of SxProps from @mui/material, for some reason this import generates a memory leak