JSF stores the View Scope (@ViewScope) in the session store. Can this lead to memory issues?

asked 18.10.2017 at 10:52

Alex%20Suter's gravatar image

Alex Suter ♦♦
3.1k122247
accept rate: 84%


Each new view needs new space again. This problematic is well-known in the JSF world: https://www.google.ch/search?q=jsf+view+scope+memory

Implementations like myfaces already tried to hit this issue with solutions like the LRU Cache (Last Recently Used) org.apache.myfaces.NUMBER_OF_VIEWS_IN_SESSION.

Ivy makes sure when a user logs out that the ViewScope is deleted.

However, we are planning improvements in this area: As soon as the dialog ends properly, we will ensure that the view scope is deleted in the future.

link

answered 18.10.2017 at 11:01

SupportIvyTeam's gravatar image

SupportIvyTeam ♦♦
1.4k102118122
accept rate: 77%

edited 18.10.2017 at 11:01

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×79
×5
×2

Asked: 18.10.2017 at 10:52

Seen: 6,226 times

Last updated: 18.10.2017 at 11:01