CPU and Memory consumption is going high
Hi,
I observed that the dialog (SfDialog) component usage in the application, makes the CPU and memory of the computer to go very high, even in idle scenarios.
Please let me know if there are any known configs that can be adjusted to keep this under control
thanks
SIGN IN To post a reply.
9 Replies
1 reply marked as answer
PM
Pandiyaraj Muniyandi
Syncfusion Team
August 6, 2020 11:05 AM UTC
Greetings from Syncfusion support.
We have validated the CPU and memory consumption issue with Dialog from our end. Both idle and interaction scenario reported issue not reproduce from our end. We have prepared a video for your reference, get it from below link
Can you confirm the following things
- Have you faced this issue, while placing other Syncfusion component inside the Dialog?
- Modify the shared sample with issue replication and revert to us.
Regards,
Pandiyaraj
Marked as answer
VP
Vigneshwaran P
August 6, 2020 02:44 PM UTC
Hi Pandiyaraj,
Thanks for your reply and sample provided, I was able to validate the same on my end and correct it.
Regards,
Vignesh
PM
Pandiyaraj Muniyandi
Syncfusion Team
August 7, 2020 03:16 AM UTC
Hi Vigneshwaran,
Thanks for the update.
If you need further assistance, kindly revert to us.
Regards,
Thanks for the update.
If you need further assistance, kindly revert to us.
Regards,
Pandiyaraj
VP
Vigneshwaran P
August 7, 2020 10:07 AM UTC
Hi,
the memory and cpu consumption issue was sorted as per last update.
As you had asked earlier, I'm using the SfTab component inside the SfDialog component, the other issue that I had observed is, the tab component doesn't show the scroll button until the screen layout is changed and reverted again.
Is there any known resolution to address this?
Thanks
RK
Revanth Krishnan
Syncfusion Team
August 10, 2020 12:43 PM UTC
Hi Vigneshwaran,
Good day to you.
We are currently validating your query “When rendering the SfTab component inside the SfDialog component the scroll button of the Tab doesn’t appear unless screen layout is changed” with high priority from our end. We will update you with further details on or before 12th August.
We appreciate your patience until then.
Regards,
Revanth
IS
Indrajith Srinivasan
Syncfusion Team
August 11, 2020 09:19 AM UTC
Hi Vigneshwaran,
We have checked your reported issue “The scroll button of the Tab disappears unless screen layout is changed” and we suggest to refresh the Tab Component after opening a Dialog using Opened event. Refer the below code for that.
|
<SfDialog Height="75%" Width="435px" Target="#target" ShowCloseIcon="true" @bind-Visible="Visibility">
...
<Content>
<SfTab @ref="TabObj" Height="250px" CssClass="tab-adaptive" OverflowMode="OverflowMode.Scrollable">
...
<DialogEvents OnOpen="@BeforeDialogOpen" Closed="@DialogClosed" Opened="@OpenedDialog"></DialogEvents>
</SfDialog>
@code{
public void OpenedDialog(Syncfusion.Blazor.Popups.OpenEventArgs args)
{
TabObj.Refresh(); // To Refresh the Tab layout
}
...
} |
Also, you can download this sample using the following link.
Sample Link: https://www.syncfusion.com/downloads/support/directtrac/general/ze/Dialog-sample-342777427
Kindly get back to us, if you need further assistance.
Regards
Indrajith
SK
sandeep kumar
April 8, 2022 04:03 AM UTC
I believe it is extremely important for everyone, and I hope that more people become aware of your post. This is a very useful post, and I admire the author. I hope you succeed in your next post, and I will continue to follow your posts. Very good topic, similar texts are available, but I'm not sure if they're as good as your work.
SR
Sabitha Rajamani
Syncfusion Team
April 8, 2022 09:31 AM UTC
Hi Sandeep,
We appreciate your feedback.
Regards,
Sabitha
SK
sandeep kumar
June 1, 2022 05:56 AM UTC
This is a very informative piece, and I like the author. I hope you succeed in your next post, and I will continue to follow your blog."
SIGN IN To post a reply.
- 9 Replies
- 6 Participants
- Marked answer
-
VP Vigneshwaran P
- Aug 5, 2020 09:52 PM UTC
- Jun 1, 2022 05:56 AM UTC