Bug 226533

Summary: yast can not install rpms
Product: [openSUSE] openSUSE 10.2 Reporter: Olaf Hering <ohering>
Component: YaST2Assignee: E-mail List <yast2-maintainers>
Status: RESOLVED WONTFIX QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None    
Version: RC 5   
Target Milestone: ---   
Hardware: PowerPC   
OS: Linux   
Whiteboard:
Found By: Development Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: bug226533.tar.bz2

Description Olaf Hering 2006-12-06 19:33:10 UTC
yast cant install rpms because it has very poor memory handling.
rpm -UVh foo.rpm fails with -ENOMEM.

before yast runs:
date:~ # free -m
             total       used       free     shared    buffers     cached
Mem:           248        102        146          0          1         45
-/+ buffers/cache:         55        193
Swap:          127         50         77
date:~ # free -m
             total       used       free     shared    buffers     cached
Mem:           248        128        119          0          1         64
-/+ buffers/cache:         62        185
Swap:          127         50         77
date:~ # free -m
             total       used       free     shared    buffers     cached
Mem:           248        245          2          0          0         54
-/+ buffers/cache:        190         58
Swap:          127         57         70
after yast attempts to install the selected packages.
Comment 1 Olaf Hering 2006-12-06 19:36:25 UTC
Created attachment 108567 [details]
bug226533.tar.bz2
Comment 2 Jiri Srain 2006-12-11 09:40:30 UTC
Having only 128MB of swap is rather unusal nowadays, you should increase it.

We know that the memory consumption of the ZYPP library is higher than it would be optimal, especially if you have multiple installation sources, and are continously optimizing it. However, there is nothing we could do about it as maintainance of 10.2.