RE: Size of application is huge



Yes - is that the problem? BTW - is there any documentation of the amount of resources each widget uses?

/jan


-----Original Message-----
From:   Vincent Torri [mailto:torri math u-strasbg fr]
Sent:   Thu 05-Aug-04 22:32
To:     Andersen, Jan
Cc:     gtk-app-devel-list gnome org
Subject:        Re: Size of application is huge

did you compile with the -g flag ?

Vincent TORRI

On Thu, 5 Aug 2004, Andersen, Jan 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.

Is it reasonable that this construction uses 318MB?

The other problem is probably because I do something wildly stupid somewhere, I'll catch that eventually, 
but if GNOME is that wasteful with its memory, I'd better find another tool.

/jan

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list









[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]