aspose file tools*
The moose likes BEA/Weblogic and the fly likes Weblogic JMS - Persistance Store & JVM memory Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Weblogic JMS - Persistance Store & JVM memory" Watch "Weblogic JMS - Persistance Store & JVM memory" New topic
Author

Weblogic JMS - Persistance Store & JVM memory

Jagadeesh Balasubramanian
Greenhorn

Joined: Oct 30, 2007
Posts: 13
Hi everyone,
I have a doubt if having lots of pending messages in the queue could affect the memory of the application. The jmsservers are attached to persistent stores now. We have error queues configured that could have lots of messages unattended. The jmsstore size on the disk is approximately 2 GB. I have felt the restarts are much slower as the jms store size has increased. So can anyone help me understand
1. For JMSServers with persistent store, how much of JVM comes into play for production and consumption
2. During restarts, does weblogic load some portion of jmsstore into memory?
Regards,
Jagadeesh
Deepak Bala
Bartender

Joined: Feb 24, 2006
Posts: 6661
    
    5

These are internal implementation details and it will be hard, if not impossible to know this without actually testing it.

I am not sure how much memory will be consumed for each persistent message. I do not see a reason why WL should load the persistent store to memory. Are you trying to solve any particular problem ?


SCJP 6 articles - SCJP 5/6 mock exams - More SCJP Mocks
Jagadeesh Balasubramanian
Greenhorn

Joined: Oct 30, 2007
Posts: 13
Yes Deepak. We had few outofmemory issues with our server. The jmsstore size is 2 gb mostly caused by error queues.
The server restart also have been very slow. Once we had to kill the server and after that it refused to startup. The thread dump shows a fatal exception when reading from store. The jmx of the server is 2 gb. So it could be either because the force kill have caused a corruption of file store or the jms store size is too big.
We are planing for a test where we could load a jmsstore and see how the jstat results differ.
Deepak Bala
Bartender

Joined: Feb 24, 2006
Posts: 6661
    
    5

Is your 2 GB space occupied fully ? I have not heard of huge space setting causing weblogic startup failure. It would be interesting to see your results. Do post them here when you have them
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Weblogic JMS - Persistance Store & JVM memory