Performance issues under load

Issue leads to server crash, and OutOfMemmory exception

Hello guys!

We got troubles during load testing using JMeter, it occures when the number of requests become more or equals 200. So basically we just send a request to a form-login with credentials and then logout.

Could you give us some additional settings or properties for the Vaadin app deployment?

Issue can be reproduced on the [bekery demo]
(https://bakery-flow.demo.vaadin.com/login), using this JMetter script (see attachments)

We use Apache Tomcat v9 for the local project (JVM property -Xmx8g, -Xms8g), the app was built in the production mode.
17917214.jmx (13.9 KB)