[Gambas-user] picture flush causes error.

GuruLounge - MailLists maillists at ...1367...
Wed Mar 15 19:35:21 CET 2006


I attempted to use "picture.flush" to help clean up the memory in my
project because I noticed after viewing a large number of images the
memory usage is very high.

Using this function causes the program to crash with "signal #11" at
some point.  Not always the same point but very soon after using the
function.

I've attached the ImageViewer Form.  The "picture.flush" function is in
the "Init" sub and commented out.  If you enable the function the IDE
will crash when either closing the form or choosing another image.

There aren't any button images because this is pasted from my project.
Button tooltips will tell you what each button does (not all buttons are
implemented yet).

version 1.0.14 - FC4

Jeff

-- 

     .^.
     /V\
    /( )\
    ^^-^^
Linux Advocate





More information about the User mailing list