I was trying to run a Python code. It failed and gave me error message "Killed". Looks like this message means the Python program is out of memory: https://stackoverflow.com/questions/1811173/why-does-my-python-script-randomly-get-killed .
Then I opened /var/log/syslog and saw the following: Nov 6 14:26:56 beaglebone kernel: [ 3072.894508] Out of memory: Kill process 28376 (python3) score 525 or sacrifice child Nov 6 14:26:56 beaglebone kernel: [ 3072.919653] Killed process 28376 (python3) total-vm:491332kB, anon-rss:322104kB, file-rss:6724kB, shmem-rss:0kB Below is what df reports: debian@beaglebone:~/neo-ai-dlr/tests/python/integration$ df -h Filesystem Size Used Avail Use% Mounted on udev 199M 0 199M 0% /dev tmpfs 62M 7.0M 55M 12% /run /dev/mmcblk0p1 30G 4.2G 24G 15% / tmpfs 306M 8.0K 306M 1% /dev/shm tmpfs 5.0M 4.0K 5.0M 1% /run/lock tmpfs 306M 0 306M 0% /sys/fs/cgroup tmpfs 62M 4.0K 62M 1% /run/user/1000 Why did the Python code run out of memory and how can I solve it? Thanks and regards, Jianzhong -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/be61ca7f-139c-4c6c-9414-b700f0ca031f%40googlegroups.com.
