hi i have a problem with mem in next

WGCWilfredo González Carvajal9/29/2023
hi, i have a problem with mem in next-router-worker, use much RAM.
Hi @alicanerdurmaz. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
AEAlican Erdurmaz9/29/2023
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?
WGCWilfredo González Carvajal9/29/2023
@refinedev/nextjs-router and react-router-dom
AEAlican Erdurmaz9/29/2023
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 ?
WGCWilfredo González Carvajal9/29/2023
AEAlican Erdurmaz9/29/2023
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
WGCWilfredo González Carvajal9/29/2023
refine whoami
System: - 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
AEAlican Erdurmaz10/3/2023
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.
[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...
No description

Looking for more? Join the community!

Recommended Posts
refine + next.jsHi guys, we've been testing Refine for a project recently doing standard CRA. Lately I've been toyinNot able to searchfor the below code search is not working as neededuseCustomMutation is persisting the header.I am passing a header in useCustomMutation for a single API call using config field. For all the subSider menu items not showing upHey everyone, I have a problem where `useMenu` does return a list of 2 items but the `renderSider` Mremove siderI want to remove antd sider programatically.antdesign sider menu popup hangs on collapsedwhen manually setCollapsed(true) on antdesign sider, the selected key menu popup will lingeruseGetToPath error<Button onClick={() => { go({ to: getToPath({ useEditableTable tableProps datatypehi, i have a question. why do the dataSource inside the tableprops property from useEditableTable oReact Query Options: Enabled change does not disable/pause requestsHi everyone, I am currently developing a page that incorporates various filters, some of which can AuthPage AntDIs there a convenient way to only render the autProvider section in the AuthPage (LoginPage) and do Seeking Advice: Choosing Refine JS for News Website Admin Dashboard?Hey everyone, I'm a beginner developer, and I'm working on a news website project that needs an admSite Title refine v4Hey, I want to change site title. The one which appear on chrome tab. I am update site logo(favicon)Is there any way to prevent hook from calling api if variable is still undefined?Is there any way to prevent hook from calling api if variable is still undefined in a single componeDragger on drop = false still calling api on dragdragger is calling api when there is no actionUsing refine as an admin panel (beginner)I am building admin panel for news website to upload, delete, update and overall controll news conterename refine default create button in the listhow to rename create button in list which is coming by giving create resourceInvalid hook call. Hooks can only be called inside of the body of a function componenthello, i got this error Invalid hook call. Hooks can only be called inside of the body of a functuseEditableTableHi, i notice that whenever I tried to fetch data using useEditableTable it sends the query with thisuseEditableTable short glitchI'm looking at `useEditableTable` from antd and the thing is there is a short glitch when pressingUpgrade Ant Design from v4 to v5 not workingI am trying to upgrade Ant Design from v4 to v5 so that I can upgrade Refine. As per your docs, I am