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

Unable to use editor with more notes, entire chrome tab getting stucked. #6793

Open
RajaTheKing826 opened this issue Apr 17, 2024 · 17 comments
Assignees
Labels
mod:edgeless Module: related to edgeless mode type:perf Performance related affairs

Comments

@RajaTheKing826
Copy link

When i run my react app with edgeless editor, its taking nearly 1.4GB memory and my chrome getting stuck like anything, and i am unable to open that page again.

Can anyone look into this. We are unable to do a small action if the data is more in whiteboard.
But same thing working fine in firefox.

@Nagendra7509
Copy link

Yeah. I too facing the same issue

Peek_2024-04-17_15-46.1.mp4

@upender7270
Copy link

Just as I was about to hit 'send' on this pesky issue I've been wrestling with, a light bulb went off – it turns out, I'm not the only one grappling with it.

So, before I hit the panic button, I thought I'd reach out to this awesome community for some collective brainpower. If anyone's got a map to smoother seas or a toolkit for troubleshooting, please drop me a line. Let's team up and conquer this challenge together!"

@Praneetha1219
Copy link

Even I'm facing the same issue. Kindly please look into it.

Thank you

@fundon
Copy link
Contributor

fundon commented Apr 18, 2024

When i run my react app with edgeless editor, its taking nearly 1.4GB memory and my chrome getting stuck like anything, and i am unable to open that page again.

Can anyone look into this. We are unable to do a small action if the data is more in whiteboard.

But same thing working fine in firefox.

Can you share your app and how many elements are on the edgeless?

@RajaTheKing826
Copy link
Author

I can't share my react app as it is confidential, instead i can share the Json data which i convert as snapshot doc.
Hope this is fine.

Here you can find the json data -> https://codesandbox.io/p/sandbox/testdata-qsgkfj?file=%2Fsrc%2Fdata.json%3A26684%2C15

@RajaTheKing826
Copy link
Author

RajaTheKing826 commented Apr 19, 2024

@fundon I hope this is fine and you are working on this

@RajaTheKing826
Copy link
Author

@fundon any update on this

@fundon
Copy link
Contributor

fundon commented Apr 23, 2024

@fundon any update on this

Sorry, I'll spend some time on this in the next couple of days.

@Nagendra7509
Copy link

Nagendra7509 commented Apr 23, 2024

@fundon

Could you please prioritize addressing this issue as soon as possible? It's a critical blocker for us, rendering the app unusable due to frequent freezing.

@donteatfriedrice donteatfriedrice added the type:perf Performance related affairs label Apr 25, 2024
@RajaTheKing826
Copy link
Author

@golok727 Do you have any insights in this?

@doodlewind doodlewind added the mod:edgeless Module: related to edgeless mode label May 4, 2024
@doodlewind
Copy link
Member

Thanks for the feedback. We've observed and reproduced significant performance regression in edgeless. But since our team were mainly working on new product features in the past weeks, optimization were not actually prioritized.

So in the incoming housekeeping stage, this would be tracked together with other usability blockers.

cc @doouding

@doouding
Copy link
Member

doouding commented May 7, 2024

@RajaTheKing826 Hi Raja, could you please export the data so I can reproduce the problem? You can remove any sensitive information as long as the issue remains.

@Nagendra7509
Copy link

I can't share my react app as it is confidential, instead i can share the Json data which i convert as snapshot doc. Hope this is fine.

Here you can find the json data -> https://codesandbox.io/p/sandbox/testdata-qsgkfj?file=%2Fsrc%2Fdata.json%3A26684%2C15

@doouding does the provided information fail to meet your requirements?

@doouding
Copy link
Member

doouding commented May 7, 2024

Thanks, that helps a lot.

@Nagendra7509
Copy link

@doouding any update??

@doouding
Copy link
Member

doouding commented May 9, 2024

Yeah, Im working on it right now. The reason is that the editor try to render all the blocks at same time. And it would take massive time if there're too many blocks. I try to split the rendering into different parts but I'm not sure if this would work.

@doouding
Copy link
Member

Hi, we just shipped some optimizations related to this issue. You can update your dependencies to the latest canary 0.15.0-canary-202405160654-a3008e5 to see if the problem has been resolved or mitigated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mod:edgeless Module: related to edgeless mode type:perf Performance related affairs
Projects
Status: No status
Development

No branches or pull requests

8 participants