Closed svlad-90 closed 5 months ago
It was identified that the root cause of this issue is located in the highlighting metadata. Any search query that:
will cause a high RAM consumption.
We need to refactor the highlighting functionality to consume less RAM.
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.