我的Vaadin应用程序的已用内存为什么没有下降?

huangapple go评论79阅读模式
英文:

Why is my used memory of my vaadin application not going down?

问题

I have a vaadin flow application (vaadin 23.3.3 and spring boot 2.7.0) and i see a strange behaviour in the used memory.
当我启动我的应用程序时,内存使用量很低,如预期。当我们的用户开始使用应用程序时,内存使用量会上升,但从不再下降。

I tested this by simulating multiple users that just login and load the first vaadin page, after that they just close their browser window.
我通过模拟多个用户只是登录并加载第一个vaadin页面来进行测试,之后他们只是关闭他们的浏览器窗口。

The memory is going up and stays at a higher level see picture:
内存使用量上升并保持在较高水平,参见图片:
我的Vaadin应用程序的已用内存为什么没有下降?

The red circle is when i started to simulate users logging in.
红圈是我开始模拟用户登录的时候。

I took a heap dump and looked at the dominator tree see picture:
我进行了堆转储并查看了支配者树,参见图片:
我的Vaadin应用程序的已用内存为什么没有下降?

Is there something that we need to trigger manually to remove our views from the memory?
我们需要手动触发某些操作以从内存中删除视图吗?

英文:

I have a vaadin flow application (vaadin 23.3.3 and spring boot 2.7.0) and i see a strange behaviour in the used memory.
When my application starts the memory used is low as expected. When our users are starting to use the application the memory is going up but never going down again.

I tested this by simulating multiple users that just login and load the first vaadin page, after that they just close their browser window.
The memory is going up and stays at a higher level see picture:
我的Vaadin应用程序的已用内存为什么没有下降?

The red circle is when i started to simulate users logging in.

I took a heap dump and looked at the dominator tree see picture:
我的Vaadin应用程序的已用内存为什么没有下降?

Is there something that we need to trigger manually to remove our views from the memory?

答案1

得分: 3

Vaadin 23.3.3存在与工具提示相关的问题。您应该将版本更新到最新的Vaadin 23.3.11,问题已经修复。

英文:

There is an issue with Vaadin 23.3.3 and the tooltip. You should update the version to the latest Vaadin 23.3.11, the issue is fixed.

huangapple
  • 本文由 发表于 2023年5月11日 16:26:34
  • 转载请务必保留本文链接:https://go.coder-hub.com/76225580.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定