Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Increase in Memory usage for Server Process  RSS feed

 
Radhika Reddy
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
we are using WSAD 5.0.2 Appserver for running our struts based J2EE Application.When we start the server the memory usage for server(java.exe) process is around 380,000K.It slowly increases even though we do not do anything on server.And when we do Load Testing using 200 users running 8 hrs.After the test is done it increases to roughly 1100,000K.I want to know like what is the reason for increase in memory usage ?Is it something with application(leaving some dead objects ie Memory leaks) or something else related to JVM or Operating System...?
my java Heap Size Configurations are:
Min JVM Heap Size : 512 MB
Max JVM Heap Size : 1024 MB
Is it normal to see such a increase?Will it affect Appserver(ie. making it crash)..
Thanks in advance
Radhika
 
Barry Andrews
Ranch Hand
Posts: 529
C++ Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No! It's definitely not normal, especially if you aren't running any apps. And yes it can/will cause the AppServer to eventually crash. I have tested several commercial app servers, and I can tell you from experience, WebSphere is not the best. It is highly possible they have a bug in the version you are using. I would try to find a fixpack or even go back a couple of levels to see if that fixes the problem.
 
Radhika Reddy
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Andrews,

Actually we have WAS 5.0 first.I observed same thing with that.IBM suggested to use 5.0.2 so we used fixpack 2 to make it 5.0.2. Still facing the same problem..Did you work on Websphere Appserver?Did you hear anyone seeing this kind of thing other than me.Is there anyway to get rid of this?
Thanks,
Radhika
 
Barry Andrews
Ranch Hand
Posts: 529
C++ Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have worked on WebSphere 4.0 on Solaris and AIX and have not see this sort of problem. I have not worked on WebSphere 5.0, because when we tried to upgrade we ran into other issues and decided to stick with 4.0

Barry
 
Benny Thomas
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Our team has worked on WAS 5. Well all WSAD versions need a lot of memory.
I m trying out WSAD 5.1 now to see how its performace is.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!