[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #62305] Extra warning for not finding available RAM
From: |
Mohammad Akhlaghi |
Subject: |
[bug #62305] Extra warning for not finding available RAM |
Date: |
Tue, 12 Apr 2022 20:02:18 -0400 (EDT) |
URL:
<https://savannah.gnu.org/bugs/?62305>
Summary: Extra warning for not finding available RAM
Project: GNU Astronomy Utilities
Submitted by: makhlaghi
Submitted on: Wed 13 Apr 2022 01:02:15 AM BST
Category: All Gnuastro
Severity: 3 - Normal
Item Group: Output not reasonable
Status: In Progress
Privacy: Public
Assigned to: makhlaghi
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
On some systems (tested on Ubuntu within the Windows Subsystem for Linux), the
'/proc/meminfo' file doesn't have the 'MemAvailable" keyword, but only has the
'MemFree' keyword. On most other GNU/Linux systems, both these keywords are
available.
Therefore, when reading a large file on the former type of operating systems,
Gnuastro programs will print the following warning (and would not be able to
find how much available memory there is!).
astsegment: WARNING: /proc/meminfo: didn't contain a 'MemAvailable' keyword
hence the amount of available RAM couldn't be determined. If a large volume of
data is provided, the program may crash. Please contact us at
'bug-gnuastro@gnu.org' to fix the problem
When there was no problem (space was actually available), the program would
finish, but this warning would be annoying for the user.
This bug was reported by Juan Miro.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?62305>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [bug #62305] Extra warning for not finding available RAM,
Mohammad Akhlaghi <=