[FS#120] opkg fails with Out of memory on a device with 32 MB of RAM

LEDE Bugs lede-bugs at lists.infradead.org
Sat Dec 3 08:48:55 PST 2016


The following task has a new comment added:

FS#120 - opkg fails with Out of memory on a device with 32 MB of RAM
User who did this - Alberto Bursi (bobafetthotmail)

----------
@Jo-Philipp Wich
@cypa

I think the only way to solve this is to simply don't keep local package lists on "low mem" devices. Each time opkg needs to look at package lists it downloads, reads and deletes each package list singularly.

It will have a pretty big latency (as commands like "opkg list" will have to download and parse all lists before giving an output), but would preserve functionality.

Since opkg is a package manager, I think list reading performance can be sacrificed here.
----------

More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=120#comment997



More information about the lede-bugs mailing list