Public bug reported:

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

** Affects: appstream (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "ltrace from appstreamcli"
   
https://bugs.launchpad.net/bugs/1958721/+attachment/5556389/+files/appstreamcli.ltrace.bz2

-- 
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:
  New

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     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to