Telegram_2018-11-17T13

<< Click to Display Table of Contents >>

Navigation:  Telegram > 2018 > 11 > 17 >

Telegram_2018-11-17T13

Telegram link

 

2018-11-17T13:29:36

 

Hello to all ... I tested the project a bit and if it is possible I still want to ask a couple more questions ... The first concerns - how I create the pictures ... I do it like in the screenshots - during the creation of the form in the dinamic components... Tell me please - this is the right approach and I work correctly with memory - because all the same problem I have early with server & sessions - after sessions of users, memory leaks accumulates as I understand...

 


 

Telegram link

 

2018-11-17T13:29:53

 

Form render

 


 

Telegram link

 

2018-11-17T13:30:10

 

Component create

 


 

Telegram link

 

2018-11-17T13:30:24

 

Finishing Formrender

 


 

Telegram link

 

2018-11-17T13:32:23

 

memory leaks

 


 

Telegram link

 

2018-11-17T13:38:46

 

1) Task manager should not be used for measuring memory usage.

 

2) Memory management in IW is no different than a normal Delphi application.

 


 

Telegram link

 

2018-11-17T13:39:12

 

I suggest you use a leak detection tool which will help you narrow down IF something is leaking, and it will tell you precisely what is leaking.

 


 

Telegram link

 

2018-11-17T13:44:01

 

This tool show me this errors... So I sent screenshots & asked about it...

 


 

Telegram link

 

2018-11-17T13:44:30

 

in debug mode - for example

 


 

Telegram link

 

2018-11-17T13:47:47

 

I tried different methods of cleaning bitmap and jpegimage - but maybe I'm wrong globally and I need to create TBitmap & TPEGImage same dynamic components - one per each? Not one per all & clear at the end?

 


 

Telegram link

 

2018-11-17T13:51:53

 

May be it better to create array of TBitmap & TJPEGImage as in US Unit?

 


 

Telegram link

 

2018-11-17T13:56:35

 

For example - now it's 0 sessions - all work perfect, but I am worried about these strange Mb...