• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Tim Cooke
Sheriffs:
  • Rob Spoor
  • Liutauras Vilda
  • paul wheaton
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown
  • Piet Souris
Bartenders:
  • Stephan van Hulst

Application Slow Performance - Using WAS 7.0

 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hey All,

I'm using WAS 7.0 for my EJB 3.0 application.
Most of the times i found the Heap dump (PHD) file and JavaCore files in the WAS Profile, and those file size is like 2 GB.

So, Most of our clients complaining about the Application slow performance.

In this case, what shall i suppose to do to face and fix this slow performance issue ?

Could anyone help me out ?


Thanks in Advance
BeeKay
 
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Start performance testing and profile what your application is doing (in your test environment). You might want to turn on garbage collection logs too. No sense changing anything until you know what the bottleneck is.
 
Balakrishnan Nagarajan
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Paul,

Thanks for your reply.

Let me follow your comments and see what exactly the issue is.

Thanks once again.
 
Balakrishnan Nagarajan
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hey,

Just for the Work-Around, we disabled the heap dump file creation in WAS.
And it works !!!

But actually, this is not at all a solution.


BeeKay
 
Balakrishnan Nagarajan
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

We were started the Performance Testing of the application and also turned on the GC logs too.
And we noticed that, whenever an action is triggered from the application, JAVA.exe in Task Manager goes high and not getting reduced eventhough after coming out of that page.

So, one certain time the application can't allocate memory for the new objects and still the older objects didn't vanish out from the memory. This leads to the OutOfMemory Exception in the log file.

Please help me out to proceed further.

Note:
We are using the following technologies in our application.
For Front End : SWT
For Business Logics : EJB 3.0
 
Ranch Hand
Posts: 232
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There are different things you should consider.
1) check whether there are any concurrent applications running i.e. Database server, MQ server, any other application consuming memory and CPU.
2) Since you say that your application is showing outofmemory, you will need to revisit your application API and check the object creation and scope properly. You can use any profiling tool such as Jprobe from quest software Or optimizeIt software. I have personally used JProbe and it gives an excellent insight on the CPU, memory and object state.
3) Perform performance and load testing on the application. Using automated testing software, load test the application to find out at what stage the application shows outofmemory. You should be able to pinpoint the functionality which is having bottleneck.
 
Balakrishnan Nagarajan
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Tks for your reply and the recommeded steps.

FYI, Most of our servers where IBM WAS installed doesn't contains other DB/MQ servers. Only WAS has been installed there.
And we also recommended the Clients to install only 1 or 2 profiles in the WAS.
Though the CPU Utilization goes very high while performing some activities in the application. We also checked the application for any memory leaks etc. But we dint find anything different there.

As per your suggestion, we are going to use JPROBE for our Client and also WAS Server.

Thanks in advance,
BeeKay N.
 
Good heavens! What have you done! Here, try to fix it with this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic