update-manager reports a memory allocation error

Bug #324114 reported by Lucio Crusca
2
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: update-manager

update-manager sometimes reports a memory allocation error after the installation of the latest updates. The error does not seem to be reproducible and it happens irregularly. More often than not, update-manager just works and it does not report any error.

I don't know the exact english error sentence, because my system has italian as default language, however here is the italian error and my english translation below.

"
Identificazione della distribuzione non riuscita

Si è verificato un errore «[Errno 12] Impossibile allocare memoria» durante il
controllo del sistema in uso.
"

"
Distribution identification failed

An error has occurred «[Errno 12] Unable to allocate memory» while checking the current system.
"

Please note that I have this option set in APT:

APT::Cache-Limit 900000000;

and my notebook has 2GB of RAM.

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 8.10
Package: update-manager 1:0.93.35
PackageArchitecture: all
ProcEnviron:
 SHELL=/bin/bash
 PATH=/home/User Name/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=it_IT.UTF-8
SourcePackage: update-manager
Uname: Linux 2.6.28.1-thinkpad i686

Tags: apport-bug
Revision history for this message
Lucio Crusca (lucrus) wrote :
Revision history for this message
Lucio Crusca (lucrus) wrote :

Me fool!

I've just read my own bug submission and I've just realized I have an extra zero in

APT::Cache-Limit 900000000;

(when I configured APT I meant to give it 90M of RAM, not 900M...). Now I assume that APT sometimes fails to allocate 900M of RAM on a system with 2GB, because it depends on how much free RAM the system has. This would explain why the problem is not (easily) reproducible, right?

If you agree, please close the bug report and mark it invalid.

Lucio Crusca (lucrus)
Changed in update-manager:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.