Re: Size of application is huge
- From: John Cupitt <jcupitt gmail com>
- To: "Andersen, Jan" <jandersen informatica com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Size of application is huge
- Date: Thu, 5 Aug 2004 14:48:48 +0000
That doesn't sound right. If I run
gtk+-2.4.4/tests/testtreeview
(makes a complicated treeview with about 1500 rows in total) the
process size (both RSS and size) is about 6 MBytes.
Maybe you have some kind of frightening leak in the way you build the trees?
On Thu, 5 Aug 2004 15:12:12 +0100, Andersen, Jan
<jandersen informatica com> wrote:
I have made a simple (simplish) application: it reads a configuration and based on this it creates an
information display. The information is organized thus:
- The toplevel is a notebook with a number of tabs.
- Each tab contains another notebook with a number of tabs
- Each tab in those notebooks contains a GtkTreeView displaying a GtkListStore with up to <100 lines of
text.
The toplevel notebook typically has 8 pages and each second level notebook has 4 pages.what shocks me is
the fact that it uses about 318MB from start. Another problem is that after several hours of use it will
sometimes allocate everything in the machine (up to 1.5GB - all real and virtual storage), then it will
dump it all as a core file.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]