There is one connection, one topic and one session shared by three threads. 
Session is created with AUTO_ACKNOWLEDE flag. And there are no queues.

The threads -
1. Sender thread has a producer on the topic.
2. Relayer thread has a producer and a consumer on the topic.
3. Receiver thread has a consumer on the topic.

So, there are two subscribers to the topic.

The communication setup is such that Relayer will receive the message sent by 
Sender and send it to Receiver thread. The relayer does this by reposting the 
message on the same topi but with different selctor. 

The Sender repeatedly send messages of size 100000 bytes and the message type 
is StreamMessage. Message contents slightly vary between messages. The Relayer 
and the Receiver are halted delibrately to create this scenario.

There is a correction since the previous post. The messages *are* flushed to 
the database and disk io is happening (the file localDB.script keeps increasing 
in size). I hadn't noticed it earlier as it was on NFS. But the problem remains 
- the JVM heap size keeps increasing even after database flushes kick in till 
it runs out of memory.

* The messages are NON_PERSISTANT
* The values on the topic  -
   fullSize=3000, pageSize=2000, downCacheSize=2000
* VM has 1024MB
* Hypersonic is being used

So, as I asked earlier, how could I set the JBoss parameters  to avoid 
OutofMemory error?

Thanks,
Raghu

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953963#3953963

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953963

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to