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

High Memory Consumption with Rekajs Library #153

Open
K1NZ54 opened this issue Apr 5, 2024 · 2 comments
Open

High Memory Consumption with Rekajs Library #153

K1NZ54 opened this issue Apr 5, 2024 · 2 comments

Comments

@K1NZ54
Copy link

K1NZ54 commented Apr 5, 2024

I am writing to report a significant issue regarding the Rekajs library's memory consumption, which seems to be unusually high compared to expected benchmarks.

When refreshing a page on Google Chrome that utilizes the Rekajs library, the memory usage reported by the Chrome DevTools exceeds 485MB. This is already quite high, but the situation escalates when loading pages with more elements than the provided examples; memory usage can spike to between 800MB and 1GB. For context, when utilizing a full React setup under similar conditions, the expected memory footprint would be around 120MB.

This discrepancy in memory usage suggests there might be a memory leak or an inefficiency within the Rekajs library's handling of DOM elements or state management, especially under heavy load or when rendering complex UIs.

Capture d’écran 2024-04-05 à 12 35 00

Thank you for your help

@prevwong
Copy link
Owner

prevwong commented Apr 6, 2024

Could you create a small demo reproducing the issue on a Github repo (or on Codesandbox/Stackblitz)? I can investigate it from there

@flashlog
Copy link

@prevwong Here's the dummy program, the editor tab memory goes over 1.6GB sometimes.
dummy-program.zip

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

3 participants