cerberustesting / cerberus-core

The Open Source Test Automation Platform.
https://cerberus-testing.com
GNU General Public License v3.0
329 stars 101 forks source link

[BUG] Groovy evaluation error: java.util.concurrent.ExecutionException #2246

Open ffazendeiro opened 3 years ago

ffazendeiro commented 3 years ago

Hi, We are implementing more non GUI tests and using much more properties getFromGroovy and noticed for performance issues with Cerberus application (and eventually a crash). Seems to be a metaspace memory usage with the getFromGroovy and we get the following error: Groovy evaluation error: java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: Metaspace image

We did some tests and we noticed that the getFromGroovy consumes lots of resources that are never released: image

With a massive use of groovy property during the day, metaspace with reach the maximum and will start returning the error. Instances will start to struggle and are not able to handle the load leading to the fail of the application: image

Can you please double check Groovy implementation? Thanks in advance.

Version tested: Cerberus4.12-SNAPSHOT-1583 (but this could be present in earlier release as it was never massively tested)

mbessa commented 3 years ago

Just to add, the analysis reveal memory usage behavior with glassfish and tomcat is the same.

ittaLaRedoute commented 2 years ago

Hello @vertigo17 , any news on that ?

vertigo17 commented 2 years ago

I upgraded to latest groovy. Can you please test ?

vertigo17 commented 1 year ago

Do you still have the behavior following Groovy upgrade ?

vertigo17 commented 10 months ago

Do you still have the behavior following Groovy upgrade ?