Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.0.9
-
None
Description
When upgrading our tests from Spock 1.3 with Groovy 2.5 to Spock 2.0 with Groovy 3.0.9, we are seeing issue with memory usage caused by CacheableCallSite. This memory seems to be retained in classes and is therefore never freed. A single Spock test class can take as much as 150mb memory. The total amount of memory sums up to several gigabytes of additional memory, causing our tests to take about 3 times as much memory as with Spock 1.3 and Groovy 2.5.
Attachments
Attachments
Issue Links
- Blocked
-
GROOVY-10307 Groovy 4 runtime performance on average 2.4x slower than Groovy 3
- Open
- relates to
-
GROOVY-10454 Performance issue with "Parrot" parser in Groovy 3.x
- Open