You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2020/08/06 16:48:25 UTC

[GitHub] [incubator-mxnet] amir-saniyan commented on issue #18869: armhf: virtual memory exhausted: Cannot allocate memory

amir-saniyan commented on issue #18869:
URL: https://github.com/apache/incubator-mxnet/issues/18869#issuecomment-670046570


   The following paragraph is not always true:
   
   **https://mxnet.apache.org/versions/1.6/get_started?platform=devices&iot=raspberry-pi**:
   
   > If you are getting build errors in which the compiler is being killed, it is likely that the compiler is running out of memory (especially if you are on Raspberry Pi 1, 2 or Zero, which have less than 1GB of RAM), this can often be rectified by increasing the swapfile size on the Pi by editing the file /etc/dphys-swapfile and changing the line CONF_SWAPSIZE=100 to CONF_SWAPSIZE=1024, then running:
   > 
   > `sudo /etc/init.d/dphys-swapfile stop sudo /etc/init.d/dphys-swapfile start free -m # to verify the swapfile size has been increased`
   
   Compilers on 32-bit Linux does not access more than 3 GB of memory even total memory is too big.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org