Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] High memory use #13

Closed
SixofClubsss opened this issue Jan 13, 2024 · 0 comments · Fixed by #14
Closed

[BUG] High memory use #13

SixofClubsss opened this issue Jan 13, 2024 · 0 comments · Fixed by #14
Assignees
Labels
bug Something isn't working

Comments

@SixofClubsss
Copy link
Collaborator

Describe the bug
High memory after prolonged use.

Relevant Package/Repo
Relevant to dReams app. Some work may been needed dApp side

To Reproduce
Steps to reproduce the behavior:

  1. Start dReams and check memory after syncing
  2. Actively use dReams for a few hours
  3. Check memory

Expected behavior
Reduced memory consumption, finding a medium.

Screenshots
none

Additional context
pprof top10

     flat  flat%   sum%        cum   cum%
1296.76MB 26.53% 26.53%  1733.31MB 35.46%  fyne.io/fyne/v2/widget.(*RichText).cachedSegmentVisual
 680.12MB 13.91% 40.44%   708.38MB 14.49%  fyne.io/fyne/v2/widget.NewRichText (inline)
 656.63MB 13.43% 53.88%   656.63MB 13.43%  fyne.io/fyne/v2/widget.NewLabelWithStyle
 429.50MB  8.79% 62.66%  4037.65MB 82.60%  fyne.io/fyne/v2/internal/cache.Renderer
 409.55MB  8.38% 71.04%   409.55MB  8.38%  fyne.io/fyne/v2/canvas.NewText
 361.03MB  7.39% 78.43%  1064.15MB 21.77%  fyne.io/fyne/v2/widget.NewRichTextWithText
 300.53MB  6.15% 84.58%   300.53MB  6.15%  fyne.io/fyne/v2/canvas.NewRectangle (inline)
 222.51MB  4.55% 89.13%   282.77MB  5.79%  fyne.io/fyne/v2/widget.(*RichText).updateRowBounds.func1
    115MB  2.35% 91.48%  2449.97MB 50.12%  fyne.io/fyne/v2/widget.(*RichText).CreateRenderer
  89.50MB  1.83% 93.31%    89.50MB  1.83%  fyne.io/fyne/v2/internal/cache.(*expiringCache).setAlive
@SixofClubsss SixofClubsss added the bug Something isn't working label Jan 13, 2024
@SixofClubsss SixofClubsss self-assigned this Jan 13, 2024
SixofClubsss added a commit that referenced this issue Jan 16, 2024
@SixofClubsss SixofClubsss mentioned this issue Jan 20, 2024
16 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant