ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Memory Leak (Delphi XE)
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

wesleybobato

Brazil
367 Posts

Posted - Oct 02 2014 :  16:23:38  Show Profile  Reply
Hello Nigel.

I found a memory leak with TImageEnMView.

ReportMemoryLeaksOnShutdown := True;
ImageEnMView1.Proc.UndoLimit := 5;

When the MainForm is Closed Delphi accuses the Memory Leaks

Thank you for your attention.

w2m

USA
1990 Posts

Posted - Oct 02 2014 :  16:28:41  Show Profile  Reply
Wesley,

I often run EurekaLog as well as MadExcept when debugging and I have not seen any memory leaks reported either for TImageEnMView in recent 5x versions by either.

But... do you get leaks if you remove
ImageEnMView1.Proc.UndoLimit := 5?

Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development
Go to Top of Page

wesleybobato

Brazil
367 Posts

Posted - Oct 02 2014 :  16:38:19  Show Profile  Reply
Hello William.

If I remove this line, No Memory Leak Occurs, It will be a BUG in Delphi XE?

Thank you for your attention.Hello William.

If I remove this line, No Memory Leak Occurs, It will be a BUG in Delphi XE?

Thank you for your attention.
Go to Top of Page

wesleybobato

Brazil
367 Posts

Posted - Dec 29 2014 :  08:54:22  Show Profile  Reply
Hello Nigel.

Some found Leaks Memory with TImageEnMView you can check please.

Have a Wonderful Day.

procedure TForm1.FormCreate(Sender: TObject);
begin
ReportMemoryLeaksOnShutdown := True;
ImageEnMView1.Proc.UndoLimit := 100;
end;





attach/wesleybobato/2014122985341_memory.zip
85.36 KB
Go to Top of Page

xequte

39140 Posts

Posted - Jan 01 2015 :  18:27:49  Show Profile  Reply
Hi Wesley

I will investigate, though I doubt it is a memory leak. There are a number of objects that are created once and left for clean-up on app closure (to delay their destruction).


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

wesleybobato

Brazil
367 Posts

Posted - Jan 03 2015 :  05:18:32  Show Profile  Reply
Hi Nigel

Thank you for your attention.

Happy New Year !!!
Go to Top of Page

xequte

39140 Posts

Posted - Jan 06 2015 :  12:48:45  Show Profile  Reply
Hi

We'll improve this for the next release.



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: