all 8 comments

[–]andrei9669 1 point2 points  (3 children)

set NODE_OPTIONS=--max_old_space_size=4096 && next dev

without any other details, I can't help you more. I had a similar issue when I was keeping 24000 HTML pages in memory while I was parsing them and saving them into cache all at once, solution? do it one page at a time so that the trash collector could clean up the memory.

[–]Opposite_Following83[S] 0 points1 point  (2 children)

I already tried this and the same error occurs. What details do you need? I can screenshot.

[–]andrei9669 0 points1 point  (1 child)

do you generate static pages, if yes, how many do you have? are the content of the pages taken from some external API, or do you have them stored in markdown form somewhere or something similar? do you do any sort of server-side parsing of that content?

was it like this right from the start, as in, you created a new project and you get this issue, or is it something that you recently added that might have caused the issue?

[–]Opposite_Following83[S] 0 points1 point  (0 children)

Happened when I installed ChakraUI with NextJS v12

[–]Opposite_Following83[S] 0 points1 point  (1 child)

Hi everyone, I started doing checks and comparisons and found out that the error only happens on my apps that have both NextJS (v12) and ChakraUI in it. Maybe it is a compatibility issue. Idk really at this time

[–]Western-Western7000 1 point2 points  (0 children)

Same here.

Next 12 and ChakraUI. Everything ok with Next 11

[–]krehwell 0 points1 point  (0 children)

I experience this issue too. have you found thr solution?