Hi, I've been using Myfaces implementation of JSF for couple of months but didn't do any sort profling and facing issues with memory footprint now. I'm using datatable for rendering personal information of employees. Each row corresponds to a employee object, the row has just 10 columns. However, we're not using the pagination (that's the last resort - > as the users get annoyed with it). It works fine in terms of memory footprint and CPU, when the dataset the table renders is small, but when the size of the datasets is large(talking about 1000 or more), I get out of memory error even though the Managed Bean is request-scoped. So when the number of user increases, this leads to a serious issues of server crash, hang etc. On profiling using yourtoolkit, I found that faces context never releases the memory used by components and the behaviour is erratic. The GC kicks in after certain stage which is not very useful. Even for a table of small data rows, it doesn't seem to release the memory. So even the pagination doesn't seem to solve the out-of-memory issue as the web site will be used by at least 4000 users.
Has anyone faced similar issues? Would appreciate your help in this regard. thanks Fred