hi i have a problem with mem in next
hi, i have a problem with mem in next-router-worker, use much RAM.
9 Replies
Hi @alicanerdurmaz. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
other-emerald•16mo ago
do you use app router ?
Sorry @alicanerdurmaz, I seem to be having a bit of trouble. Don't worry though, I've pinged my supprt and they will try to fix me up! :technologist:
Perhaps try again in 15mins?
metropolitan-bronze•16mo ago
@refinedev/nextjs-router and react-router-dom
other-emerald•16mo ago
but you need to use @refinedev/react-router-v6 for react-router-dom
for nextjs, react router dom is not required
for @refinedev/nextjs-router do you use app-router or pages-router ?
metropolitan-bronze•16mo ago
pages!
other-emerald•16mo ago
thanks. we will investigate the issue.
can you provide us output of "npm run refine whoami" and usage of ram please ?
I need those for debug
metropolitan-bronze•16mo ago
refine whoamiSystem: - OS: Linux 6.5 Fedora Linux 38 (Workstation Edition) - CPU: (8) x64 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz Binaries: - Node: 18.18.0 - ~/.nvm/versions/node/v18.18.0/bin/node - Yarn: Not Found - npm: 9.8.1 - ~/.nvm/versions/node/v18.18.0/bin/npm Browsers: - Chrome: 117.0.5938.132 Refine Packages: - @refinedev/antd: 5.36.2 - @refinedev/cli: 2.15.4 - @refinedev/core: 4.42.2 - @refinedev/inferencer: 4.5.12 - @refinedev/kbar: 1.3.2 - @refinedev/nextjs-router: 5.5.0 - @refinedev/supabase: 5.7.0 virtual memory 100 gb and memory 2gb
other-emerald•15mo ago
I created new refine project with nextjs, supabase, and, antd. RAM usage is between 250mb and 400mb. It seems okay.
I couldn't reproduced the problem but some people have expressed the same problem under this issue. https://github.com/vercel/next.js/issues/49929
I don't think it's related to refine but we will keep in mind this and investigate furter. I will inform you if there is any update.
GitHub
[NEXT-1314] High memory usage in deployed Next.js project · Issue #...
Verify canary release I verified that the issue exists in the latest Next.js canary release Provide environment information Operating System: Platform: darwin Arch: arm64 Version: Darwin Kernel Ver...