[Lazarus] RE : Memory need on ARM

Ludo Brands ludo.brands at free.fr
Tue Jul 19 10:43:12 CEST 2011


> >> The plan is to remotely attach to a running program and 
> not to start
> >> a program remotely. So I suppose remote X is not an option.
> >
> > In that specific case I think I'd consider splitting the 
> "daemon" and
> > "UI" apart, and connecting between them with something like XML 
> > conveyed over SSH.
> This of course is what I would do if this would be new software 
> specifically designed for the task in question. But actually 
> we face a 
> huge project done with Delphi that needs to be ported (and 
> modified as 
> little as possible, as the same source tree needs to keep on being 
> maintainable in some hundred legacy installations.)
> 

Just to give you an idea of memory usage: a 256 MB ARM Debian etch (QEMU)
system is using 17M of memory when logged in. With XFCE launched and one
terminal window the usage is 76M. Launching Lazarus (gtk2) and after
compiling a small program (8 units in editor), memory usage is 84M. Usage is
what you get with the free command: used -/+ buffers/cache. 
XFCE is small but there is much smaller. I've taken Lazarus as big/huge
program not knowing what your project involves.  The system in not optimized
neither as you would for a real embedded system either (lpd and other
daemons running).  

Ludo 





More information about the Lazarus mailing list