Mattias Gaertner wrote:
On Mon, 13 Jul 2009 22:33:42 +0100
Marc Adams marcad...@clara.co.uk wrote:
Hi - I'm running Lazarus under Linux, and recently rebuilt Lazarus to
use gtk2.
Now whenever I restart Lazarus, I now get the question Which Lazarus
should be started?
- the default system or my
Hi,
Whenever I do a Quick Compile (Ctrl+Shift+F9 on my system), there is
always a temp file remaining in the default output directory.
The file is ppas.sh on my Linux system.
Is there a reason why that file remains after the Quick Compiler and
never gets deleted by Lazarus? Or is this an
2009/7/14 Graeme Geldenhuys grae...@opensoft.homeip.net:
Hi,
Whenever I do a Quick Compile (Ctrl+Shift+F9 on my system), there is always
a temp file remaining in the default output directory.
The file is ppas.sh on my Linux system.
Is there a reason why that file remains after the Quick
Hi,
I was looking at my system processes and noticed that 'startlazarus' is
consuming 26.7MB virtual memory 14.5MB physical memory. Now I'm not
100% sure what the difference is between virtual and physical memory,
but either way, it is a lot of memory considering that startlazarus
doesn't
Thanks for the quick reply Henry.
Henry Vermaak wrote:
This file is created by fpc if you call it with -sh. Assembler and
linker isn't called, so presumably that's where the quick compile
comes from.
That's correct - or at least that is how I understood it as well. But I
did not know fpc
Graeme Geldenhuys schreef:
but either way, it is a lot of memory considering that startlazarus
doesn't really do anything serious, other than launch the lazarus binary.
and show a splash screen.
On windows 32 bits, Mem Usage is 8 MB, VM Size is 5300 KB.
Vincent
--
On Tue, 14 Jul 2009, Graeme Geldenhuys wrote:
Hi,
I was looking at my system processes and noticed that 'startlazarus' is
consuming 26.7MB virtual memory 14.5MB physical memory. Now I'm not 100%
sure what the difference is between virtual and physical memory, but either
way, it is a lot
Michael Van Canneyt wrote:
Did you strip the debug info ?
OK, just did that and memory usage is still the same as before.
The file size dropped from 31.7MB (with debug info) down to 5.3MB
(without debug info).
Regards,
- Graeme -
--
fpGUI Toolkit - a cross-platform GUI toolkit using
2009/7/14 Graeme Geldenhuys grae...@opensoft.homeip.net:
Vincent Snijders wrote:
On windows 32 bits, Mem Usage is 8 MB, VM Size is 5300 KB.
This raises another question though. Why is it that under Linux is uses more
than double the memory than under Windows? And yet it is the exact same
Henry Vermaak wrote:
My startlazarus uses 10M physical memory, while lazarus uses 27M (RES
column in `top`).
What widgetset did you compile with? I used GTK2. I guess I can
experiment with other widgetsets for the startlazarus project, or is
startlazarus a pure console application? (I never
2009/7/14 Graeme Geldenhuys grae...@opensoft.homeip.net:
Henry Vermaak wrote:
My startlazarus uses 10M physical memory, while lazarus uses 27M (RES
column in `top`).
What widgetset did you compile with? I used GTK2. I guess I can experiment
with other widgetsets for the startlazarus
On Tue, 14 Jul 2009 02:25:57 -0400
waldo kitty wkitt...@windstream.net wrote:
Mattias Gaertner wrote:
On Mon, 13 Jul 2009 22:33:42 +0100
Marc Adams marcad...@clara.co.uk wrote:
Hi - I'm running Lazarus under Linux, and recently rebuilt Lazarus
to use gtk2.
Now whenever I restart
On Tue, 14 Jul 2009 10:08:01 +0100
Henry Vermaak henry.verm...@gmail.com wrote:
2009/7/14 Graeme Geldenhuys grae...@opensoft.homeip.net:
-- 8 --
But as I mentioned, if FPC is the one creating the file, surely it
should be responsible for clean up afterwards.
The point of -sh is to
Mattias Gaertner wrote:
If you know an option to omit creating the linker/assembler files as
well, we can add that.
If such an option doesn't exist, maybe we can ask the FPC team to extend
the compiler to support it?
Regards,
- Graeme -
--
fpGUI Toolkit - a cross-platform GUI toolkit
On Tue, 14 Jul 2009 11:55:41 +0200
Graeme Geldenhuys grae...@opensoft.homeip.net wrote:
Henry Vermaak wrote:
My startlazarus uses 10M physical memory, while lazarus uses 27M
(RES column in `top`).
What widgetset did you compile with? I used GTK2. I guess I can
experiment with other
On Tue, 14 Jul 2009 13:29:34 +0200
Graeme Geldenhuys grae...@opensoft.homeip.net wrote:
Mattias Gaertner wrote:
If you know an option to omit creating the linker/assembler files as
well, we can add that.
If such an option doesn't exist, maybe we can ask the FPC team to
extend the
Mattias Gaertner wrote:
executable without smart linking and without wpo
+ stack
+ loaded config files
+ mem fragmentation
A simple lcl app needs 2-4MB less.
Two questions...1) Can you defrag memory? I'm running Ubuntu 8.04.2 - if
that helps. Or do you just close all apps, logout and
Graeme Geldenhuys wrote:
Two questions...1) Can you defrag memory? I'm running Ubuntu 8.04.2 - if
that helps. Or do you just close all apps, logout and then log back in
and start all apps again. I tend to run my system for weeks on end
without logout or reboot.
Don't worry, I Googled
On Tue, Jul 14, 2009 at 11:18:23AM +0200, Michael Van Canneyt wrote:
On Tue, 14 Jul 2009, Graeme Geldenhuys wrote:
I was looking at my system processes and noticed that 'startlazarus' is
consuming 26.7MB virtual memory 14.5MB physical memory. Now I'm not 100%
sure what the difference is
On Tue, Jul 14, 2009 at 11:24:01AM +0200, Graeme Geldenhuys wrote:
Graeme Geldenhuys wrote:
I was looking at my system processes and noticed that 'startlazarus' is
consuming 26.7MB virtual memory 14.5MB physical memory. Now I'm not
And to make sure that I am reading the memory usage
Marco van de Voort wrote:
What do they say about these values? Most notably, are you 100% sure that
all memory regions that are shared are deducted?
I think Mattias hit the nail on the head regarding my system and memory
fragmentation. My system had a uptime of 14 days (which is not really
2009/7/14 Mattias Gaertner nc-gaert...@netcologne.de:
On Tue, 14 Jul 2009 13:29:34 +0200
Graeme Geldenhuys grae...@opensoft.homeip.net wrote:
Mattias Gaertner wrote:
If you know an option to omit creating the linker/assembler files as
well, we can add that.
If such an option doesn't
On Tue, 14 Jul 2009, Henry Vermaak wrote:
2009/7/14 Mattias Gaertner nc-gaert...@netcologne.de:
On Tue, 14 Jul 2009 13:29:34 +0200
Graeme Geldenhuys grae...@opensoft.homeip.net wrote:
Mattias Gaertner wrote:
If you know an option to omit creating the linker/assembler files as
well, we
2009/7/14 Michael Van Canneyt mich...@freepascal.org:
The whole idea of -Cn is to have ppas.sh and link.res, so the link.res
can be examined, modified and then call the linker manually.
I'd say that's what the -s* options are for. -Cn and -E are aliases
and they seem to do the same thing as
Graeme Geldenhuys wrote:
Graeme Geldenhuys wrote:
I was looking at my system processes and noticed that 'startlazarus'
is consuming 26.7MB virtual memory 14.5MB physical memory. Now I'm not
OK, so 'startlazarus' is a GUI application. But I also don't see why the
splash.pp unit has to
Marc Weustink wrote:
What's non GUI on a splash ?
Originally I thought startlazarus just passes parameters on to the lazarus binary and
handles the File Restart (and Restart after Build) feature of Lazarus.
But at closer inspection I saw it does splash screen handling and MessageDlg()
Graeme Geldenhuys schreef:
But at closer inspection I saw it does splash screen handling and
MessageDlg() calls as well, which needs to be GUI. But I'm still
confused. When I start Lazarus without the help of 'startlazarus' I also
see a splash screen, so why does 'startlazarus' also handle a
Vincent Snijders wrote:
It is to show the splash screen as soon as possible, not to wait until
yet another executable is loaded.
Well then we are talking about milliseconds really. A splash screen is normally show just after the Application.Initialize call. Surely a few milliseconds
Graeme Geldenhuys schreef:
Vincent Snijders wrote:
It is to show the splash screen as soon as possible, not to wait until
yet another executable is loaded.
Well then we are talking about milliseconds really. A splash screen is
normally show just after the Application.Initialize call.
On Tue, 14 Jul 2009 20:54:35 +0200
Graeme Geldenhuys grae...@opensoft.homeip.net wrote:
Vincent Snijders wrote:
It is to show the splash screen as soon as possible, not to wait
until yet another executable is loaded.
Well then we are talking about milliseconds really. A splash screen
Vincent Snijders wrote:
Can you test and verify the few (10) miliseconds claim on windows, with
it notorious slow process start up?
OK, I'll test tomorrow at work in my Windows VM session. I don't have Windows
at home to test now.
Regards,
- Graeme -
Vincent Snijders wrote:
If you want to trade speed for memory, it is better to rewrite
startlazarus to exit after it has started lazarus.
I did not look at the Lazarus IDE code yet, but I thought startlazarus must stay in memory for the
File Restart support and the Restart after Build
32 matches
Mail list logo