You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Work with the data set that contains ~ 2M messages ( ~ 512 Mb of data )
Work with the regular expression that makes it possible to create a sequence diagram out of those 2M messages. The "UML" checkbox in the "Search view" should become available for all the found messages, after the search is started.
Start the search
Check the memory consumption. It might increase up to > 10 GB
This is a new issue caused by the creation of sequence diagrams for a large number of messages. The plugin was not used in this way before, so it was expected that something like this might happen.
=> It is not a memory leak, but rather a properly allocated, still huge area of memory, that is used for storing the sequence diagram metadata. At least now we have such an assumption, that should be checked.
Use Valgrind massif to locate the high memory consumption location. Then try to eliminate it.
The text was updated successfully, but these errors were encountered:
svlad-90
changed the title
[uml_view] Investigate high memory consumption of the "uml_view" in case of "too many messages fitting for creation of the sequence diagram"
[highlighting] Investigate high memory consumption during requests with many regular expression groups
Jun 6, 2024
It was identified that the root cause of this issue is located in the highlighting metadata. Any search query that:
finds a lot of messages - millions
that contains a lot of captured regular expression groups
will cause a high RAM consumption.
We need to refactor the highlighting functionality to consume less RAM.
svlad-90
changed the title
[highlighting] Investigate high memory consumption during requests with many regular expression groups
[HIGHLIGHTING] Investigate high memory consumption during requests with many regular expression groups
Jun 6, 2024
svlad-90
changed the title
[HIGHLIGHTING] Investigate high memory consumption during requests with many regular expression groups
[SEARCH_VIEW] Investigate high memory consumption during requests with many regular expression groups
Jun 6, 2024
How can one reproduce this issue?
This is a new issue caused by the creation of sequence diagrams for a large number of messages. The plugin was not used in this way before, so it was expected that something like this might happen.
=> It is not a memory leak, but rather a properly allocated, still huge area of memory, that is used for storing the sequence diagram metadata. At least now we have such an assumption, that should be checked.
Use Valgrind massif to locate the high memory consumption location. Then try to eliminate it.
The text was updated successfully, but these errors were encountered: