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 ♦♦
1.8k61935
accept rate: 82%


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.2k6383105
accept rate: 76%

edited 18.10.2017 at 11:01

Your answer
toggle preview

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:

×73
×5
×2

Asked: 18.10.2017 at 10:52

Seen: 784 times

Last updated: 18.10.2017 at 11:01