Memory Efficient Livelog

Waite, Jooyoun 96 Reputation points
2021-11-04T16:17:11.013+00:00

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 Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,291 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
606 questions
{count} votes

Accepted answer
  1. Waite, Jooyoun 96 Reputation points
    2021-11-09T18:11:36.837+00:00

    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


3 additional answers

Sort by: Newest
  1. Waite, Jooyoun 96 Reputation points
    2021-11-18T17:21:05.26+00:00

    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.

  2. Waite, Jooyoun 96 Reputation points
    2021-11-11T01:01:47.7+00:00

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


  3. Waite, Jooyoun 96 Reputation points
    2021-11-05T17:58:24.833+00:00

    Hi Hui,

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

    Thank you
    Jooyoun.