LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 07-16-2005, 08:11 AM   #1
exvor
Senior Member
 
Registered: Jul 2004
Location: Phoenix, Arizona
Distribution: Gentoo, LFS, Debian,Ubuntu
Posts: 1,537

Rep: Reputation: 87
GTK slow program execution


Hello everyone

this is not really bashing or anything but why does gtk+-2.0 programs start very slowly?


i have created basic apps with only 2 buttons and it takes about 3 or 4 seconds to start.


is this normal with this graphical library or am i compiling them wrong?


im running on a ibm thinkpad 560x with 64mb ram

other apps do start faster so i know its not due to system performance
 
Old 07-17-2005, 07:06 AM   #2
clausi
Member
 
Registered: Mar 2004
Distribution: Debian
Posts: 48

Rep: Reputation: 15
Re: GTK slow program execution

Quote:
Originally posted by exvor
im running on a ibm thinkpad 560x with 64mb ram
I guess your using KDE or another non-GTK+ graphical enviroment. Thus, when you start your small GTK+ application, it will need to load all the shared libraries. Since your RAM is already full, it will probably start to swap.

Try to start an existing GTK+ application first and then your app. It should start faster.
 
Old 07-17-2005, 09:02 AM   #3
exvor
Senior Member
 
Registered: Jul 2004
Location: Phoenix, Arizona
Distribution: Gentoo, LFS, Debian,Ubuntu
Posts: 1,537

Original Poster
Rep: Reputation: 87
Yes im running flux box thats what it looks like it does tho loads all the shared libraries but it does this every time.


Just wondering if it was normal.

xlib is much faster tho but that may be because fluxbox uses it.


thanks for the reply
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
paralell program execution vishamr2000 Programming 17 08-28-2005 09:15 AM
execution of one program inside of another microsoft/linux Programming 2 03-18-2005 10:24 AM
Key bindings program (custom pasting, program execution, etc.) jrdioko Linux - Software 2 02-05-2005 09:09 PM
program execution at startup DeeDub Linux - Software 2 09-11-2003 01:25 PM
program execution monitoring imp Linux - General 1 05-26-2002 09:22 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 04:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration