nuejs / nue

The UX Framework for the Web
https://nuejs.org
MIT License
6.1k stars 180 forks source link

The system memory is exhausted. #386

Open jbguo424 opened 1 day ago

jbguo424 commented 1 day ago

Describe the Bug

The system memory is exhausted within 30 minutes. 75.7g 4.3g 40096 R 133.3 14.9 6:14.20 bun 91.5g 20.6g 40096 R 137.5 70.9 30:25.59 bun

Environment

uname -a Linux dlp 6.8.0-47-generic #47~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Oct 2 16:16:55 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

Dmesg info [24412.412574] Purging GPU memory, 0 pages freed, 0 pages still pinned, 215 pages left available. [24412.412623] wpa_supplicant invoked oom-killer: gfp_mask=0x140cca(GFP_HIGHUSER_MOVABLE|__GFP_COMP), order=0, oom_score_adj=0 [24412.412626] CPU: 12 PID: 846 Comm: wpa_supplicant Not tainted 6.8.0-47-generic #47~22.04.1-Ubuntu [24412.412627] Hardware name: Dell Inc. XPS 8960/09M47G, BIOS 2.9.1 08/09/2024

Minimal Reproduction

I downloaded the source code from GitHub and then used the command nue to launch the site under nue/package/nuejs.org. ~/nue/packages/nuejs.org$ nue

Logs & Additional Context

nobkd commented 1 day ago

So. You installed nuekit globally, and run it with bun (shebang not changed) in the docs (nuejs.org directory) on the master branch. Then you used some utility to check the memory usage. Correct?

Did you check, if it really was nue's bun process? Did you do anything else after starting nue? Did you edit files in the docs?

Please provide steps, on what exactly you did, because I tried to reproduce this issue, and could not. Thank you

jbguo424 commented 1 day ago

Hello nobkd,

Thank you very much for your reply.

I followed the steps in the official tutorial.

  1. curl -fsSL https://bun.sh/install | bash
  2. bun install nuekit --global
  3. run command nue under the directory nue/package/nuejs.org/

I modified some .md files after starting Nue.

Thanks,