By default, Linux follows an optimistic memory allocation strategy. This means that when malloc() returns non-NULL there is no guarantee that the memory really is available. This is a really bad bug. In case it turns out that the system is out of memory, one or more processes will be killed by the infamous OOM killer. In case Linux is employed under circumstances where it would be less desirable to suddenly lose some randomly picked processes, and moreover the kernel version is sufficiently recent, one can switch off this overcommitting behavior using a command like
# echo 2 > /proc/sys/vm/overcommit_memory
See also the kernel Documentation directory, files vm/overcommit accounting and sysctl/vm.txt.
И вообще, если не нравятся руки Торвальдса и других разработчиков, то покажите им как надо писать. Если не можете, но не нравится, то пользуйтесь платными решениями, которые будут вас устраивать. К чему такие громкие заявления?
А чего там описывать.
Просканировал директорию на предмет медиа-содержимого. Открыл библиотеку. Выбрал первую попавшуюся песенку, два раза щелкнул по ней. Вверху написали Error. Звуков, разумеется, никаких я не услышал, как и не увидел никакой конкретики поводу ошибки.
By default, Linux follows an optimistic memory allocation strategy. This means that when malloc() returns non-NULL there is no guarantee that the memory really is available. This is a really bad bug. In case it turns out that the system is out of memory, one or more processes will be killed by the infamous OOM killer. In case Linux is employed under circumstances where it would be less desirable to suddenly lose some randomly picked processes, and moreover the kernel version is sufficiently recent, one can switch off this overcommitting behavior using a command like
# echo 2 > /proc/sys/vm/overcommit_memory
See also the kernel Documentation directory, files vm/overcommit accounting and sysctl/vm.txt.
А идеального, конечно, ничего не существует. Проблемы есть везде.
Как уважаемый автор хабратопика открывает новые окна? «Файл — Новый»? Не надоедает?
К сожалению, необходимо чтобы начал кто-то один. И чем лучше будет начало, тем лучше будет итог.
Просканировал директорию на предмет медиа-содержимого. Открыл библиотеку. Выбрал первую попавшуюся песенку, два раза щелкнул по ней. Вверху написали Error. Звуков, разумеется, никаких я не услышал, как и не увидел никакой конкретики поводу ошибки.
Если что, у меня Линукс :)
Тем лучше, можно попробовать повлиять на развитие проекта.
Сейчас качаю — буду оценивать :)