> You have a cache bigger than 256MB?? This issue is already fixed with
appstream 0.15.0, but I still would like to know why your cache is so
huge. What's you system locale?

I would like to understand it too.

System locale:
david@bee:~$ locale -a
C
C.UTF-8
POSIX
en_US.utf8
david@bee:~$ locale   
LANG=C.UTF-8
LANGUAGE=C
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_PAPER="C"
LC_NAME="C"
LC_ADDRESS="C"
LC_TELEPHONE="C"
LC_MEASUREMENT="C"
LC_IDENTIFICATION="C"
LC_ALL=C

If you could provide any tips on how to determine how or why my cache
would be so large, it might help identify the source of this problem.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to appstream in Ubuntu.
https://bugs.launchpad.net/bugs/1958721

Title:
  appstreamcli refresh-cache reports MDB_MAP_FULL

Status in appstream package in Ubuntu:
  Fix Released
Status in appstream source package in Impish:
  New
Status in appstream source package in Jammy:
  Fix Released

Bug description:
  On Ubuntu 21.10 aarch64 AppStream version: 0.14.5

  I get the following error:
  % sudo appstreamcli refresh-cache --force
  Unable to add data: MDB_MAP_FULL: Environment mapsize limit reached

  Using: 
      sudo ltrace -f -l liblmdb.so.0 appstreamcli refresh-cache

  I see that the DB is initialized with a 256MB size
  [pid 244512] libappstream.so.4->mdb_env_set_mapsize(0xaaaad38f46e0, 
0x10000000, 0xaaaad38f46e0, 0) = 0

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1958721/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to