[FS#2734] Opkg update fails although router has enough memory

OpenWrt Bugs openwrt-bugs at lists.openwrt.org
Sun Sep 13 08:10:00 EDT 2020


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#2734 - Opkg update fails although router has enough memory
User who did this - Baptiste Jonglez (bjonglez)

----------
To get an idea of memory usage, run opkg with "time -v".  Then look at "Maximum resident set size".  That being said, I don't know if it accounts for forked processes.

Here is memory usage with 19.07.4 on a TL-WDR4300 v1 (ath79):

First ''opkg update'' takes 3.76 MB

Second ''opkg update'' takes 3.76 MB

''opkg list'' takes 14.6 MB

''opkg list-upgradable'' takes 56.3 MB

''opkg list-installed'' takes 3.76 MB

So, jow's optimizations are quite good at reducing memory usage for ''update'' and ''list''. Since ''list-upgradable'' has not been changed recently, it's not surprising it still takes a large amount of memory.
----------

More information can be found at the following URL:
https://bugs.openwrt.org/index.php?do=details&task_id=2734#comment8779

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the openwrt-bugs mailing list