[Gambas-devel] Gambas Memory leak ... (?!)

Gareth Bult gareth at ...560...
Wed Jan 21 01:25:57 CET 2009


Ok,

I can tell you with 100% accuracy now where the problem is ..
GB.ReturnObject(IMAGE.Create(THIS->w,THIS->h,GB_IMAGE_BGR,THIS->frame));

I replaced the Gambas with;

  'pic.Picture = $device.Image.Picture
  img = $device.Image

To remove the picture conversion - no change.

Then I replaced;

	GB.ReturnNull();
	//GB.ReturnObject(IMAGE.Create(THIS->w,THIS->h,GB_IMAGE_BGR,THIS->frame));

Memory usage is now 100% stable.

:)

Gareth.



----- Original Message -----
From: "Gareth Bult" <gareth at ...560...>
To: "mailing list for gambas developers" <gambas-devel at lists.sourceforge.net>
Sent: Wednesday, 21 January, 2009 12:17:00 AM GMT +00:00 GMT Britain, Ireland, Portugal
Subject: Re: [Gambas-devel] Gambas Memory leak ... (?!)

Mmm,

Well I've found one problem .. that issue I reported re; flickering .. only happens on Qt, Gtk is fine.

:)

Gareth.

----- Original Message -----
From: "Benoit Minisini" <gambas at ...1...>
To: "mailing list for gambas developers" <gambas-devel at lists.sourceforge.net>
Sent: Tuesday, 20 January, 2009 11:55:05 PM GMT +00:00 GMT Britain, Ireland, Portugal
Subject: Re: [Gambas-devel] Gambas Memory leak ... (?!)

On mercredi 21 janvier 2009, Gareth Bult wrote:
> I'm using the generic GUI, rather than Gtk or Qt specifically ... which by
> the look of things uses Qt when I'm designing and Gtk when it runs ...
>

Can you force gb.qt to see if you have the memory leak? To do that, define the 
environment variable GB_GUI to "gb.qt" in the project property dialog.

-- 
Benoit Minisini

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Gambas-devel mailing list
Gambas-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-devel

-- 
Managing Director, Encryptec Limited
Tel: 0845 5082719, Mob: 0785 3305393
Email: gareth at ...560... 
Statements made are at all times subject to Encryptec's Terms and Conditions of Business, which are available upon request.

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Gambas-devel mailing list
Gambas-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-devel

-- 
Managing Director, Encryptec Limited
Tel: 0845 5082719, Mob: 0785 3305393
Email: gareth at ...560... 
Statements made are at all times subject to Encryptec's Terms and Conditions of Business, which are available upon request.




More information about the Devel mailing list