Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
>35 MB vaadinsession with vaadin-spring addon
Hi, profiling my webapp with Xrebel I found that the VaadinSession size is huge (see attachment for more details).
The object responsible for that size is the SpringViewProvider. I don't have any Views created yet.
The object is autowired into the UI:
@Autowired
private SpringViewProvider viewProvider;
Thankss
Last I tried XRebel with Vaadin Spring I noticed the same. XRebel counts in the whole Spring context into session size causing abnormally large session size. You can verify this with coulple of concurrent users (and by looking at the heap size alone), but I'd guess that pretty much all of that 35Mb is shared among all users.
cheers,
matti
Few related links:
https://dev.vaadin.com/ticket/17448
and
http://zeroturnaround.com/forums/topic/session-size-calculation