Hi, I create a solution and add txtextcontrol and show window. Memory increase but i close form contain txtextcontrol, memory not free. How can i free memory?
Thanks
Hi, I create a solution and add txtextcontrol and show window. Memory increase but i close form contain txtextcontrol, memory not free. How can i free memory?
Thanks
The memory will be freed by the .NET Garbage Collector and will not happen immediately in most cases.
Do you instantiate the TextControl through code or did you add the TextControl to the Form in VS Design Time?
Regards,
Gunnar Giffey, TX Text Control
[Forum Administrator]
I add txTextControl in blank solution. In design and show it.
This is video demo: http://screencast.com/t/Fe9Oc8Dk3oH
This is solution: http://www.mediafire.com/download.php?ja85slj5c7e3d1j
Please run solution and Show TextWindow about 20 times. And see memory in task manager. Close all TextWindow and show memory it not free
Thanks for your files.
TX Text Control .NET has not influence on the .NET memory management.
Did you understand what I explained about the .NET Garbage Collector?
Here is a link to a good article: http://www.simple-talk.com/dotnet/.n...ction-in-.net/
Regards,
Gunnar Giffey, TX Text Control
[Forum Administrator]
Thank for answer,
I unserstand .NET Garbage Collector but please u see my solution and video. Can u make the memory free after close window in solution i send in last thread. Solution i just add 1 txtext control and show it.
The memory will be freed automatically when the .NET Garbage Collector has been run.
There is no way in TX Text Control to control the .NET Garbage Collector's behavior.
Regards,
Gunnar Giffey, TX Text Control
[Forum Administrator]
Bookmarks