>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
21309.png

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