|
<< Click to Display Table of Contents >> Navigation: Telegram > 2018 > 11 > 17 > Telegram_2018-11-17T13 |
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...
2018-11-17T13:29:53
Form render
2018-11-17T13:30:10
Component create
2018-11-17T13:30:24
Finishing Formrender
2018-11-17T13:32:23
memory leaks
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.
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.
2018-11-17T13:44:01
This tool show me this errors... So I sent screenshots & asked about it...
2018-11-17T13:44:30
in debug mode - for example
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?
2018-11-17T13:51:53
May be it better to create array of TBitmap & TJPEGImage as in US Unit?
2018-11-17T13:56:35
For example - now it's 0 sessions - all work perfect, but I am worried about these strange Mb...