Debugging a memory leak issue in a Next.js application with React icons.
Last updated: Jun 12, 2023
Hey, random question here. I have a memory leak issue inside my Next js application. My node js CPU gets over 200/300% randomly. Is there a way I can debug the code to see where the memory leak is located or what is causing it?
Jun 12, 2023, 8:20 AM
Are you using an icon package?
Jun 12, 2023, 10:25 AM
Great one! Multiple different types of reactIcons for the studio and the website. Studio is inside my next app. I am using a lot of icons
Jun 12, 2023, 10:26 AM
I found doing absolute imports lowered module count significantly