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

102730091 ms: Mark-sweep 881.5 (983.0) -> 880.4 (983.3) MB, 6928.0 / 0.5 ms (average mu = 0.346, current mu = 0.311) allocation failure scavenge might not succeed #2803

Closed
Fredi009sg opened this issue Jan 31, 2022 · 6 comments
Labels

Comments

@Fredi009sg
Copy link

Fredi009sg commented Jan 31, 2022

102730091 ms: Mark-sweep 881.5 (983.0) -> 880.4 (983.3) MB, 6928.0 / 0.5 ms (average mu = 0.346, current mu = 0.311) allocation failure scavenge might not succeed

Got this after a while. How can i fix it ?

@rejas
Copy link
Collaborator

rejas commented Jan 31, 2022

where did you get this message and why is that a problem?

@Fredi009sg
Copy link
Author

Fredi009sg commented Jan 31, 2022

got this when i'm doing pm2 logs

its out of log file from MagicMirror...

[28.01.2022 13:44.36.846] [WARN] �[33mYou're using a full whitelist configuration to allow for all IPs�[39m
Gdk-Message: 15:52:34.194: electron: Fatal IO error 11 (Die Ressource ist zur Zeit nicht verfügbar) on X server :0.

[28.01.2022 15:53.36.758] [WARN] �[33mYou're using a full whitelist configuration to allow for all IPs�[39m

<--- Last few GCs --->

[1:0x50f60000] 102730091 ms: Mark-sweep 881.5 (983.0) -> 880.4 (983.3) MB, 6928.0 / 0.5 ms (average mu = 0.346, current mu = 0.311) allocation failure scavenge might not succeed
[1:0x50f60000] 102737115 ms: Mark-sweep 881.6 (983.3) -> 880.4 (982.8) MB, 4004.3 / 0.8 ms (average mu = 0.384, current mu = 0.430) allocation failure scavenge might not succeed

<--- JS stacktrace --->

@sdetweil
Copy link
Collaborator

@Fredi009sg

can you do what the issue template asked for

what pi
when did you download the PI OS?

uname -a
lsb_release -a
node -v
npm -v
free -m
df -k

how did you install? manual, automated script?

what did you do BEFORE u attempted install?
any system updates, or installs of other things?

@Fredi009sg
Copy link
Author

Fredi009sg commented Feb 1, 2022

@Fredi009sg

can you do what the issue template asked for

what pi when did you download the PI OS?

Pi 4 4GB

uname -a

Linux raspberrypi 5.10.63-v7l+ #1496 SMP Wed Dec 1 15:58:56 GMT 2021 armv7l GNU/Linux

lsb_release -a

No LSB modules are available.
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 10 (buster)
Release: 10
Codename: buster

node -v

v16.13.2

npm -v

8.1.2

free -m

total used free shared buff/cache available
Mem: 3838 1399 242 205 2196 2300
Swap: 1023 125 898

df -k

Dateisystem 1K-Blöcke Benutzt Verfügbar Verw% Eingehängt auf
/dev/root 30358348 13121948 15951904 46% /
devtmpfs 1800564 0 1800564 0% /dev
tmpfs 1965428 17220 1948208 1% /dev/shm
tmpfs 1965428 17060 1948368 1% /run
tmpfs 5120 8 5112 1% /run/lock
tmpfs 1965428 0 1965428 0% /sys/fs/cgroup
/dev/mmcblk0p1 258095 49283 208812 20% /boot
192.168.160.70:/volume1/Backups/Full_Backup_Pi 1917962752 1003842816 914001152 53% /backup
tmpfs 393084 4 393080 1% /run/user/1000

how did you install? manual, automated script?

with your script..

what did you do BEFORE u attempted install? any system updates, or installs of other things?

@jboucly
Copy link

jboucly commented Feb 16, 2022

I had this problem when I created my module...
I hadn't anticipated the available memory allocation of an RPI.

I'm guessing you've either developed a module that takes more memory allocation than the RPI suggests. Either you used a module that was not very well developed due to the memory size of an RPI.

Can you list the modules you use ?

@stale
Copy link

stale bot commented Apr 18, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Apr 18, 2022
@stale stale bot closed this as completed Apr 27, 2022
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