[PATCH 2/3] Handle systems with more than 2147483647 kB of memory (#704593).

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Our code had a limit of 2TB for the memory check.  At least one reporter is
trying to install on a system with 3TB of memory and anaconda reports that
he does not have enough memory.  The log file reports he has -1119974932 kB
of memory.
---
 iutil.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/iutil.py b/iutil.py
index ca20002..596b5d2 100644
--- a/iutil.py
+++ b/iutil.py
@@ -438,7 +438,7 @@ def memInstalled():
             mem = fields[1]
             break
 
-    return int(mem)
+    return long(mem)
 
 ## Suggest the size of the swap partition that will be created.
 # @param quiet Should size information be logged?
-- 
1.7.1

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux