Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] pnpm dev无法启动,提示内存不够 #27

Open
alpha2z opened this issue Apr 3, 2024 · 5 comments
Open

[Question] pnpm dev无法启动,提示内存不够 #27

alpha2z opened this issue Apr 3, 2024 · 5 comments
Labels

Comments

@alpha2z
Copy link

alpha2z commented Apr 3, 2024

🧐 问题描述 | Proposed Solution

pnpm dev -p 3400 -H 0.0.0.0

[email protected] dev /root/lobe-midjourney-webui
next dev -p 3040 "-p" "3400" "-H" "0.0.0.0"

▲ Next.js 14.1.4

✓ Ready in 2.8s
○ Compiling / ...
✓ Compiled / in 47.5s (10251 modules)
⚠ Server is approaching the used memory threshold, restarting...
▲ Next.js 14.1.4

请问,你们这个服务需要申请多少内存才行?

📝 补充信息 | Additional Information

No response

@lobehubbot
Copy link
Member

👀 @alpha2z

Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible.
Please make sure you have given us as much context as possible.
非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

@ladypiapia
Copy link

@alpha2z 至少4G内存,因为我看仅next.sever就占用了3个多G内存,可以部署到Vercel

@arvinxx
Copy link
Contributor

arvinxx commented Nov 27, 2024

dev 要很大内存的

@ladypiapia
Copy link

dev 要很大内存的

请问如果部署到服务器的话构建发布之后还会占这么大内存吗?整个项目大概会占用多大内存呀?对next不是很了解

@arvinxx
Copy link
Contributor

arvinxx commented Nov 27, 2024

构建成生产包的话200m就够了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants