File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes BEA/Weblogic and the fly likes JVM memory usage in wls8.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "JVM memory usage in wls8.1" Watch "JVM memory usage in wls8.1" New topic

JVM memory usage in wls8.1

Reshma Shanbhag
Ranch Hand

Joined: Sep 17, 2002
Posts: 204
I am facing problem with memory usage of wls8.1

memory paramets as : -Xms256m -Xmx640m.
SDK: Hotspot

Servers->Monitoring->Performence shows
Startup: Max as 604m and used memory as 200m.

Using top command, system free memory is 800MB for 1GB RAM Linux system.

During application run time, Memory performence graph of weblogic shows Max available is 270mb and used memory is 160mb, at this point of time the system has around 300 mb/400mb/500mb free memory.

When a condition like this occurs the Stateful EJB gets locked and the application becomes very slow, if we leave it in that state over night gives OutOfMemory Error

Here i am not able to understand why the JVM is not able to scale its heap memory higher with system having free RAM space.

Plz help me with this.

Thanks in Advace

SCJP 1.4, SCWCD 1.4
Marcos Maia
Ranch Hand

Joined: Jan 06, 2001
Posts: 977

take a look at:

to optimize the tunning for OS, Weblogic, network, etc.

Also make sure that you're freein all statefull references after use them.

Hope this help, best regards.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: JVM memory usage in wls8.1
It's not a secret anymore!