-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
None
-
2020 Week 34-36 (from Aug 17)
-
-
NEW
-
NEW
The current appformer hard codes 20 entries for the LRUCache [1].
This results in the retention of org.drools.compiler.kie.builder.impl.MemoryKieModule class in the LRUBuilderCache when building a project with incremental versions.
The following is one test for building a project:
0.6g - before the build.
1.3g - after the 1st build + full GC
1.9g - after the 2nd build + full GC (change the version number)
1.9g - after the 3rd build + full GC (without changing the version number)
2.5g - after the 4th build + full GC (change the version number)
3.1g - after the 5th build + full GC (change the version number)
One suggestion is to make the LRUCache configurable instead of hard coding 20 for the entries.