You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kie.apache.org by "philipdnichols (via GitHub)" <gi...@apache.org> on 2025/03/14 20:18:03 UTC
[I] KIE Editor (New and Classic) - Memory Issue [incubator-kie-tools]
philipdnichols opened a new issue, #3007:
URL: https://github.com/apache/incubator-kie-tools/issues/3007
Hi folks,
My team is working on a React project that makes use of the standalone DMN editor. We're currently using the classic editor (but plan on moving to the new editor once that is published to NPM - I'm aware of the issues that popped up back in December and we're patiently waiting 😅)
Anyway, we noticed that the memory footprint of our application was growing over time and we seem to have pinpointed it to the DMN editor. Our application has a list page where you can navigate to another page that renders the editor. We were thinking that we weren't properly cleaning up the editor when unmounting it, so we tried adding calling the `close` api during an unmount, but that appeared to have not made a difference.
I was curious, so I checked the KIE editor sandbox that you provide - https://sandbox.kie.org/#/ - and this editor has the same issue!
I did screen recordings of the issue and attached:
New Editor: https://github.com/user-attachments/assets/20adcbe5-63c3-4474-9025-6002f4b30d2c
Classic Editor: https://github.com/user-attachments/assets/39bf3353-aa23-4e67-b788-489b17e74437
As you can see, the New Editor is definitely less of a hog, but it still seems to be holding onto quite a bit of memory over time.
It would be great if you could look into this and provide any suggestions of how to fix or mitigate this.
Thank you!
-Phil
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org
Re: [I] KIE Editor (New and Classic) - Memory Issue [incubator-kie-tools]
Posted by "philipdnichols (via GitHub)" <gi...@apache.org>.
philipdnichols commented on issue #3007:
URL: https://github.com/apache/incubator-kie-tools/issues/3007#issuecomment-2729713720
> Hi, thank you for this report. Please, does the page refresh 'reset' the used memory?
Yes, once you refresh the page the memory frees up.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org
Re: [I] KIE Editor (New and Classic) - Memory Issue [incubator-kie-tools]
Posted by "jomarko (via GitHub)" <gi...@apache.org>.
jomarko commented on issue #3007:
URL: https://github.com/apache/incubator-kie-tools/issues/3007#issuecomment-2729707370
Hi, thank you for this report. Please, does the page refresh 'reset' the used memory?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org
Re: [I] KIE Editor (New and Classic) - Memory Issue [incubator-kie-tools]
Posted by "tiagobento (via GitHub)" <gi...@apache.org>.
tiagobento commented on issue #3007:
URL: https://github.com/apache/incubator-kie-tools/issues/3007#issuecomment-2815190032
The cause here is probably the `iframe` where the Editors on KIE Sandbox are renderer never being let go :/ Thank you so much for reporting this @philipdnichols, we'll definitely look into it.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org