GIDForums  

Go Back   GIDForums > Computer Programming Forums > FLTK Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 05-Nov-2004, 01:42
jarod jarod is offline
New Member
 
Join Date: Oct 2004
Posts: 14
jarod is on a distinguished road

How to free some memory in FLTK?


Hi to everyone! I have a problem on my GUI which makes it shutdown and sometimes get unresponsive. I figured out that the GUI eats up memory (of course! ) but it doesn't free it every time I go to a different screen. So, my problem now is how to free up some memory as I change screens bcoz the GUI eats more and more memory as i use it? Thanks!
  #2  
Old 05-Nov-2004, 06:50
cable_guy_67's Avatar
cable_guy_67 cable_guy_67 is offline
Senior Member
 
Join Date: Oct 2004
Location: Nescopeck, PA
Posts: 1,109
cable_guy_67 is a jewel in the roughcable_guy_67 is a jewel in the roughcable_guy_67 is a jewel in the roughcable_guy_67 is a jewel in the rough
Quote:
Originally Posted by jarod
Hi to everyone! I have a problem on my GUI which makes it shutdown and sometimes get unresponsive. I figured out that the GUI eats up memory (of course! ) but it doesn't free it every time I go to a different screen. So, my problem now is how to free up some memory as I change screens bcoz the GUI eats more and more memory as i use it? Thanks!

Hi Jarod. Glad to see you here. See if this post is something like your problem. If not, post some code and we will try to help out.

Check this thread
__________________
"Opportunity is missed by most people because it comes dressed in overalls and looks like work."
--Thomas Alva Edison
"Those who would give up essential liberty to purchase a little temporary safety, deserve neither liberty nor safety."
--Benjamin Franklin
"A happy person is not a person in a certain set of circumstances, but rather a person with a certain set of attitudes."
--Hugh Downs
  #3  
Old 05-Nov-2004, 09:48
podarok's Avatar
podarok podarok is offline
New Member
 
Join Date: Nov 2004
Location: Ukraine, Київ
Posts: 23
podarok is on a distinguished road
Quote:
Originally Posted by jarod
Hi to everyone! I have a problem on my GUI which makes it shutdown and sometimes get unresponsive. I figured out that the GUI eats up memory (of course! ) but it doesn't free it every time I go to a different screen. So, my problem now is how to free up some memory as I change screens bcoz the GUI eats more and more memory as i use it? Thanks!
on what kind of system do U use it "GUI". If it is one of *nix - try "jail" start of your program with memory limit and look at program running - U have to get some type of errors that can help U understand problem and solving it...
 
 

Recent GIDBlogProblems with the Navy (Officers) by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Tutorial] GUI programming with FLTK dsmith FLTK Forum 10 03-Oct-2005 15:41
Welcome to the FLTK Forums dsmith FLTK Forum 0 08-Sep-2004 06:58

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 03:10.


vBulletin, Copyright © 2000 - 2010, Jelsoft Enterprises Ltd.