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

Using toast-ui.vue-image-editor, memory release issues #213

Open
MoyanLiu opened this issue Jun 18, 2019 · 4 comments
Open

Using toast-ui.vue-image-editor, memory release issues #213

MoyanLiu opened this issue Jun 18, 2019 · 4 comments
Labels
Enhancement Enhance performance or improve usability of original features. Question

Comments

@MoyanLiu
Copy link

When I use toast-ui.vue-image-editor, I encounter memory unreleased when I close.
I loaded a PNG image of about 5MB and initialized the component (and loaded the picture) on the Chrome browser.Memory will increase by about 100MB-300MB. When I quit, I called clearUndoStack (), clearRedoStack (), destroy () and destroyed the element.But memory will not be released, even if it waits for a period of time.
Here is the data monitored by memory(use:node process.memoryUsage()).
Object {rss: 188645376, heapTotal: 77209600, heapUsed: 42227456, external: 19802529}
Object {rss: 291049472, heapTotal: 47980544, heapUsed: 42436336, external: 322589150}

@MoyanLiu
Copy link
Author

The title is incorrect. I use tui. image - editor directly.

@junghwan-park junghwan-park added Enhancement Enhance performance or improve usability of original features. Question labels Jun 20, 2019
@junghwan-park
Copy link
Member

@MoyanLiu I'll check about it.

@MoyanLiu
Copy link
Author

Did you find any problems? I use windows Chrome.

@MoyanLiu
Copy link
Author

@junghwan-park Hello, because this component is an important part of my project, please help solve this problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Enhance performance or improve usability of original features. Question
Projects
None yet
Development

No branches or pull requests

2 participants