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

Split code and save progress? OOM? #67

Closed
3 of 4 tasks
pionxzh opened this issue Dec 4, 2023 · 0 comments
Closed
3 of 4 tasks

Split code and save progress? OOM? #67

pionxzh opened this issue Dec 4, 2023 · 0 comments
Labels
enhancement New feature or request performance

Comments

@pionxzh
Copy link
Owner

pionxzh commented Dec 4, 2023

originally from #35

I have a 5Mb sized file that needs to be processed, I've tried running it directly in node and it takes up to 21G of memory space in some transform processing.

However, in some of the processing, it may fail, so maybe it would be possible to save the data that was processed successfully? And use it again next time?

This issue is used to track things we need to improve to prevent:

  1. Lossing data when the unminified code is larger than 5MB (the size limit from LocalStorage)
  2. OOM
  3. Save the data more frequently to avoid the transformation failing half way and losing all the code we get
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request performance
Projects
None yet
Development

No branches or pull requests

1 participant