Forums - out of Memory issue for python Module

2 posts / 0 new
Last post
out of Memory issue for python Module
j.allen
Join Date: 2 Feb 21
Posts: 3
Posted: Mon, 2021-03-15 23:01

I wanted to push a python module that was to be pushed onto the device to the /usr/lib/python3.5 folder and while trying to do so I get a "out of memory" issue  ,is there a fix for this?

 

  • Up0
  • Down0
g.ramsingh
Join Date: 17 Sep 20
Posts: 7
Posted: Tue, 2021-03-16 05:01

Hi Allen.

check command 'df' to see the system usage, if the memory in root directory is filled completely means you need to manually add to the program.  using the below script you can include the python library during run time.

 import sys
sys.path.append("./lib")

lib folder contains the python libraries.

 

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.