question

WaiteJooyoun-0064 avatar image
0 Votes"
WaiteJooyoun-0064 asked WaiteJooyoun-0064 answered

Memory Efficient Livelog

Dear community,

I am looking for memory efficient solution to implement livelog GUI.

Logs are parsed data between server and clients and LiveLog implementation is on server side.

Since server can communicate with 16 clients at the same time and I need to consider 'memory efficiency of LiveLog' for each client.
I would rather focus memory efficiency than performance.

I am using below development tools.
.Net Framework 4.5
C#
WPF


While I am researching 'TextBlock, TextBox' to handle text, I ran into below Q&A in forum.
https://social.msdn.microsoft.com/Forums/vstudio/en-US/c0cc7ef4-474e-45d5-b79e-8fb9bc692670/textbox-major-memory-leak-in-wpf?forum=wpf

Can someone advise me what is right approach to implement memory efficient LiveLog on 16 tabs at the same time using C# , WPF solution?



windows-wpfdotnet-wpf-xaml
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi,@WaiteJooyoun-0064 . What is your understanding of the memory efficient LiveLog? Could you share what you did? Can you try to see if this solution is helpful to you?

0 Votes 0 ·
WaiteJooyoun-0064 avatar image
0 Votes"
WaiteJooyoun-0064 answered HuiLiu-MSFT commented

Hello Hui

To keep performance of LiveLog, your suggestion works for me.
I tried to use TextBox but it didn't work for LiveLog in terms of performance.
Thank you
Jooyoun

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi,@WaiteJooyoun-0064 . How do you want to use TextBox? Is the TextBox you want to use read-only? If so, you could try to refer to the solution of Efficient alternative to a read-only TextBox as a log in WPF .

0 Votes 0 ·
WaiteJooyoun-0064 avatar image
0 Votes"
WaiteJooyoun-0064 answered HuiLiu-MSFT commented

Hi Hui,

Thank you for your response.
Let me test the provided solution and get back to you.

Thank you
Jooyoun.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi,@WaiteJooyoun-0064 . Ok, if you have any updates or questions, please let me know.

0 Votes 0 ·
WaiteJooyoun-0064 avatar image
0 Votes"
WaiteJooyoun-0064 answered HuiLiu-MSFT commented

Thank you, Yes, It's read-only. Let me try your reference of TextBox

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi,@WaiteJooyoun-0064 . Are there any updates?

0 Votes 0 ·
WaiteJooyoun-0064 avatar image
0 Votes"
WaiteJooyoun-0064 answered

HuiLiu
I decided to refer first link. It performs better with our code. I will close the case.
Thank you for your help. I really appreciate your response.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.