• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Out Of Memory problem in domain

 
Ranch Hand
Posts: 464
Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

We are facing a Out Of Memory problem in weblogic clustered domain. Normal non-clustered domain seems to be working fine. Can you please give some suggestion reguarding why this is happening in the clustered domain only? Also please give some remedial suggestion to avoid it.

Thanks
 
Ranch Hand
Posts: 2713
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The of scenarios that could cause an OutOfMemoryException are pretty much beyond limit. We would need a lot more information to even begin considering the possibilities. My recommendation is to hook up a profiler to your application as quickly as possible to monitor the memory heap and the types of objects the are causing it to grow.
 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi..
We had the same problem in our domain. But we have tested our domain with SpotLight Profiler to detect the problem. And in non clustered domain, everything is working fine(heap usgae is decreasig after some time) and even thread utilizatoin is working fine.
But in clustered domain, thread utilization is reaching maximum and heap usage also worst(It is simply grows and after some it reaches max).
THE JVM IS HOTSPOT 1.4.2
AND THE CONGIF IS AS FOLLOWS:
MEM_ARGS="-Xms1250m -Xmx1250m"
JAVA_OPTIONS="-XX:NewSize=400m -XX:MaxNewSize=800m -XX:SurvivorRatio=8 -XX:MaxPermSize=600m -Xcompactgc -XX:+UseParallelGC"

Is theare any problem in Garbage collector or any other issue we can trach down.
And at last, load was 5+ users. Initially it works fine, after 45 mins the application will be slow(not evn opens the page)..
Any help would be appreciated.. Thanks in advance.
 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Can you try with these options

Xms1400m -Xmx1500m
-XX:+UseParallelGC -XX:+AggressiveHeap -XX:+UseAdaptiveSizePolicy


This option takes in account of the machine resources (size of memory and number of processors) and makes its own algorithms to make maximal use of the physical memory for the heap (i.e., the algorithms attempt to use heaps nearly as large as the total physical memory).

More info can be obtained at the url: http://java.sun.com/docs/hotspot/gc1.4.2/

Thanks
Santosh
 
reply
    Bookmark Topic Watch Topic
  • New Topic