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

After installing version 1, especially opening js, the memory usage is increasing, how can I release some regularly #48

Open
qupb opened this issue Jul 17, 2022 · 2 comments

Comments

@qupb
Copy link

qupb commented Jul 17, 2022

root@debian:~# ps aux | sort -k4,4nr | head -n 10
www 5021 0.5 7.5 1876584 304204 ? Sl Jul08 67:48 /usr/lib/chromium-browser/chromium-browser --no-sandbox --disable-gpu --user-data-dir --window-size=1280,1024 --window-position=0,0 --enable-pinch
www 19776 0.0 2.4 598004 98552 ? Ssl Jul11 0:53 /opt/rss-proxy/node_modules/puppeteer/.local-chromium/linux-818858/chrome-linux/chrome --disable-background-networking --enable-features=NetworkService,NetworkServiceInProcess --disable-background-timer-throttling --disable-backgrounding-occluded-windows --disable-breakpad --disable-client-side-phishing-detection --disable-component-extensions-with-background-pages --disable-default-apps --disable-dev-shm-usage --disable-extensions --disable-features=TranslateUI --disable-hang-monitor --disable-ipc-flooding-protection --disable-popup-blocking --disable-prompt-on-repost --disable-renderer-backgrounding --disable-sync --force-color-profile=srgb --metrics-recording-only --no-first-run --enable-automation --password-store=basic --use-mock-keychain --enable-blink-features=IdleDetection --headless --hide-scrollbars --mute-audio about:blank --disable-dev-shm-usage --disable-default-apps --disable-extensions --disable-gpu --disable-sync --disable-translate --mute-audio --no-first-run --no-sandbox --safebrowsing-disable-auto-update --remote-debugging-port=0 --user-data-dir=/tmp/puppeteer_dev_chrome_profile-UiOeRn

@qupb
Copy link
Author

qupb commented Jul 17, 2022

root@debian:~# docker stats
CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS
cdf752d2ae23 vigilant_black 1.59% 2.178GiB / 3.841GiB 56.70% 1.05GB / 564MB 33MB / 11.4MB 1390
0c782be19122 optimistic_mendeleev 0.54% 400.1MiB / 3.841GiB 10.17% 56.4MB / 55.7MB 98.2MB / 14.2GB 124

@qupb
Copy link
Author

qupb commented Jul 18, 2022

root@debian:~# for proc in $(find /proc -maxdepth 1 -regex '/proc/[0-9]+'); do

printf "%2d %5d %s\n" \
    "$(cat $proc/oom_score)" \
    "$(basename $proc)" \
    "$(cat $proc/cmdline | tr '\0' ' ' | head -c 50)"

done 2>/dev/null | sort -nr | head -n 40
878 7874 /opt/rss-proxy/node_modules/puppeteer/.local-chrom
878 1676 /opt/rss-proxy/node_modules/puppeteer/.local-chrom
878 11851 /opt/rss-proxy/node_modules/puppeteer/.local-chrom
877 9144 /opt/rss-proxy/node_modules/puppeteer/.local-chrom
877 4232 /opt/rss-proxy/node_modules/puppeteer/.local-chrom
877 3707 /opt/rss-proxy/node_modules/puppeteer/.local-chrom
877 31889 /opt/rss-proxy/node_modules/puppeteer/.local-chrom
877 25945 /opt/rss-proxy/node_modules/puppeteer/.local-chrom
877 23480 /opt/rss-proxy/node_modules/puppeteer/.local-chrom
877 21791 /opt/rss-proxy/node_modules/puppeteer/.local-chrom
877 21020 /opt/rss-proxy/node_modules/puppeteer/.local-chrom
877 20732 /opt/rss-proxy/node_modules/puppeteer/.local-chrom
877 19859 /opt/rss-proxy/node_modules/puppeteer/.local-chrom
877 19809 /opt/rss-proxy/node_modules/puppeteer/.local-chrom

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

No branches or pull requests

1 participant