#JavaScript heap out of memory

4 messages · Page 1 of 1 (latest)

tiny pulsar
#

When I use Anchor to interact with Solana in an empty Next.js project, I encounter a memory overflow error. The same code works fine with Next.js. How can I fix this issue?

node: v16 v18.19 v20
nestjs: v10.3

hybrid axle
#

How is this file called? You should be using dependency injection

tiny pulsar
wooden osprey
#

perhaps you're fetching too much data? hard to tell without a proper memory debugging