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

Why does the waveform freeze every once in a while? #5

Open
ChouJoe opened this issue Nov 27, 2020 · 2 comments
Open

Why does the waveform freeze every once in a while? #5

ChouJoe opened this issue Nov 27, 2020 · 2 comments

Comments

@ChouJoe
Copy link

ChouJoe commented Nov 27, 2020

i find a common issue in this demo and others realtime demos in lightningchart website :the waveform will have a short freeze moment every once in a while, is it a BUG or what can we do to fix this issue?

@Snekw
Copy link
Member

Snekw commented Nov 27, 2020

The small freezes that happen are caused by JS garbage collector. In the real time demos there is often large amounts of data that is generated and used for a short period of time and then left for the garbage collector to collect. This kind of data coming in and going out fast easily results in this kind of short freezing and often can't be completely eliminated.

We are aware of the freezing and we are continuously improving the library memory usage and reducing how much data is left for garbage collector in the hopes of reducing how often the garbage collector needs to run.

@ChouJoe
Copy link
Author

ChouJoe commented Nov 30, 2020

The small freezes that happen are caused by JS garbage collector. In the real time demos there is often large amounts of data that is generated and used for a short period of time and then left for the garbage collector to collect. This kind of data coming in and going out fast easily results in this kind of short freezing and often can't be completely eliminated.

We are aware of the freezing and we are continuously improving the library memory usage and reducing how much data is left for garbage collector in the hopes of reducing how often the garbage collector needs to run.

thank you for your answer sincerely,since there is a JS garbage problem when we add large amounts of data to the series(lightningchart), I was wondering if there is another way to achieve real-time waveform?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants