Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
dselgo_eidex
Partner - Creator III
Partner - Creator III

Do alternate states increase memory usage?

Hello, I'm considering adding a lot more alternate states in my documents, but before I do I want to make sure that adding alternate states does not increase the memory usage of the document. This is partially due to my own ignorance on how alternate states work within QlikView, but I currently think of any alternate state as a duplication of the 1 set. Therefore it would stand to reason that the memory gets doubled with each alternate state being created.

1 Solution

Accepted Solutions
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

For a given document on the server, there are two main uses of memory.

1. The memory to store the document data (table model).  This is shared by all users of the document.

2. Memory allocated for each active user to track a user's selections (State Space).  This memory is allocated for each active user and is typically a relatively small amount.

Alternate States require additional state space for each user to track selections in the additional states. It's not typically much memory.

You can use the Document Analyzer tool to quantify how much State Space is required for each user, and you can measure the change of adding Alternate States.

Qlikview Cookbook: QV Document Analyzer http://qlikviewcookbook.com/recipes/download-info/document-analyzer/

-Rob

http://masterssummit.com

http://qlikviewcookbook.com

View solution in original post

2 Replies
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

For a given document on the server, there are two main uses of memory.

1. The memory to store the document data (table model).  This is shared by all users of the document.

2. Memory allocated for each active user to track a user's selections (State Space).  This memory is allocated for each active user and is typically a relatively small amount.

Alternate States require additional state space for each user to track selections in the additional states. It's not typically much memory.

You can use the Document Analyzer tool to quantify how much State Space is required for each user, and you can measure the change of adding Alternate States.

Qlikview Cookbook: QV Document Analyzer http://qlikviewcookbook.com/recipes/download-info/document-analyzer/

-Rob

http://masterssummit.com

http://qlikviewcookbook.com

dselgo_eidex
Partner - Creator III
Partner - Creator III
Author

Awesome, thanks Rob. I've used the QV Document Analyzer in the past, but I didn't know it could measure that. Thanks for the explanation!