RISC OS Open
A fast and easily customised operating system for ARM devices
ROOL
Home | News | Downloads | Bugs | Bounties | Forum | Documents | Photos | Contact us
Account

Previous|Next

  • Tickets
  • » Ticket #421

Ticket #421 (Fixed)Fri Apr 22 12:37:01 UTC 2016

Machine may abort if free pool is shrunk to zero

Reported by: Jeffrey Lee (213) Severity: Normal
Part: RISC OS: Module Release:
Milestone: Status Fixed

Details by Jeffrey Lee (213):

On a machine with <=512MB RAM and an OS version that supports PMPs, dragging the ram disc size to max in task manager may cause aborts due to running out of space in the free pool.

This might be a bug in the PMP implementation, or it might be a problem that’s always been there (but hard to trigger in the past due to the lower RAM disc size limit)

Apart from fixing the aborts so that the OS will fail gracefully when out of memory, it’s suggested that the task manager restricts the user from making a change which would shrink the free pool below a certain size.

Relevant forum threads:

https://www.riscosopen.org/forum/forums/4/topic…

https://www.riscosopen.org/forum/forums/5/topic…

Changelog:

Modified by Sprow (202) Mon, May 02 2016 - 20:45:47 GMT

> or it might be a problem that’s always been there (but
> hard to trigger in the past due to the lower RAM disc size limit)

I don’t think it’s that option. With a 64+2MB Risc PC, the RAM disc can be dragged to ~50MB (max area size 66MB) leaving 0k in free and 0k in next, and nothing crashes.

Modified by Jeffrey Lee (213) Sun, May 29 2016 - 10:36:42 GMT

  • Status changed from Open to Fixed

These recent fixes appear to have fixed the most serious issues seen while testing on a BB-xM and Pi 1. Now the OS appears to fail gracefully when the free pool is shrunk to zero, and recover correctly when free memory is made available again.

https://www.riscosopen.org/viewer/revisions/log…

https://www.riscosopen.org/viewer/revisions/log…

Since the OS remains usable during the period of having no free memory, I don’t think there’s any big rush to implement the idea of making the task manager restrict the minimum free pool size.

  • Comment on, or change status of, this ticket

Previous|Next

Search tickets

Social

Follow us on and

ROOL Store

Buy RISC OS Open merchandise here, including SD cards for Raspberry Pi and more.

Donate! Why?

Help ROOL make things happen – please consider donating!

RISC OS IPR

RISC OS is an Open Source operating system owned by RISC OS Developments Ltd and licensed primarily under the Apache 2.0 license.

Options

  • Tickets
  • New ticket
  • Milestones
  • Subversion: Changesets
  • Subversion: Browse
  • CVS: Revisions
  • CVS: Browse
  • Search

RSS feeds Rss

  • Tickets
  • Everything!
  • More feeds...
Site design © RISC OS Open Limited 2018 except where indicated
The RISC OS Open Collaboa theme is distantly based on the Collaboa default layout

Valid XHTML 1.0  |  Valid CSS

Powered by Collaboa
This site runs on Rails

Hosted by Arachsys