Closed
Description
Description
Plugin memory leakage in IDEA is detected.
There are many CgContext Objects created in CgComponents - but it seems that they are not removed.
To Reproduce
- Install UTBot plugin on IntelliJ Idea 2022.1.4
- Use plugin to generate tests
- Do not close IDEA and generate tests with UTBot several times
Expected behavior
CgContext Objects are supposed to be destroyed after usage.
Actual behavior
There are many CgContext Objects in Profiler presetn - after several UTBot test generation runs.
There are only getOrPut methods in CgComponents.
After a couple of days running IDEA with UTBot - all 2 GB are used. IDEA is running out of memory.
Environment
Windows 10 Pro
IntelliJ IDEA 2022.1.4
Additional context
Discovered by @Markoutte
Metadata
Metadata
Assignees
Type
Projects
Status
Done