Re: Out of memory management in embedded systems

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: linux-os (Dick Johnson)
Date: Friday, September 28, 2007 - 6:09 am

On Fri, 28 Sep 2007, [iso-8859-1] Daniel Spång wrote:


But an embedded system contains all the software that will
ever be executed on that system! If it is properly designed,
it can never run out of memory because everything it will
ever do is known at design time.

This should never be an issue with an embedded system.
If you have such a system issue, then you have
application(s) that have memory leaks because of
improper design or coding. For instance, there is
a common open-source web-server that is used in some
embedded systems. It has memory leaks. The solution,
if the server can't be fixed, is to execute a supervisor
process which periodically shuts it down and restarts
it --ugly, but effective if the developers refuse to
accept patches.

You shouldn't expect a kernel to be modified to "fix"
broken application code.

Cheers,
Dick Johnson
Penguin : Linux version 2.6.22.1 on an i686 machine (5588.29 BogoMips).
My book : http://www.AbominableFirebug.com/
_

****************************************************************
The information transmitted in this message is confidential and may be privileged.  Any review, retransmission, dissemination, or other use of this information by persons or entities other than the intended recipient is prohibited.  If you are not the intended recipient, please notify Analogic Corporation immediately - by replying to this message or by sending an email to DeliveryErrors@analogic.com - and destroy all copies of this information, including any attachments, without reading or disclosing them.

Thank you.
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Out of memory management in embedded systems, Daniel Spång, (Fri Sep 28, 5:55 am)
Re: Out of memory management in embedded systems, linux-os (Dick Johnson), (Fri Sep 28, 6:09 am)
Re: Out of memory management in embedded systems, Daniel Spång, (Fri Sep 28, 6:30 am)
Re: Out of memory management in embedded systems, linux-os (Dick Johnson), (Fri Sep 28, 7:04 am)
Re: Out of memory management in embedded systems, Daniel Spång, (Fri Sep 28, 7:14 am)
Re: Out of memory management in embedded systems, Rik van Riel, (Fri Sep 28, 7:17 am)
Re: Out of memory management in embedded systems, Eric Dumazet, (Fri Sep 28, 7:36 am)
Re: Out of memory management in embedded systems, Rik van Riel, (Fri Sep 28, 8:15 am)
Re: Out of memory management in embedded systems, linux-os (Dick Johnson), (Fri Sep 28, 8:16 am)
Re: Out of memory management in embedded systems, Daniel Spång, (Fri Sep 28, 1:58 pm)
Re: Out of memory management in embedded systems, Nicholas Miell, (Fri Sep 28, 4:00 pm)
Re: Out of memory management in embedded systems, Daniel Phillips, (Fri Sep 28, 6:59 pm)
Re: Out of memory management in embedded systems, Abhishek Sagar, (Sat Sep 29, 12:48 pm)