medium
medium

Reputation: 4236

JSF - Application Memory usage at around 1GB

I have developed a JSF application and I am running into some funny behavior in that a lot of things such as navigation do not work and then apache will randomly lock up.

I started checking memory usage and the application is using about 1GB a memory to run. That seemed like a lot but I have no idea this is my first JSF application. This also is just with one user (one session) hitting the application.

Could there be a memory leak? Something else? Where can I start to look to try and figure out what is going on?

Upvotes: 0

Views: 2360

Answers (1)

Jigar Joshi
Jigar Joshi

Reputation: 240918

  1. Choose Bean scope as minimum as possible. Under its life cycle and then select the scope.
  2. It seems you are putting many data in session or application scope by mistake.
  3. Check JSF-Best Practices & JSF Performance Tuning

Upvotes: 1

Related Questions