[ openjms-Bugs-1164825 ] Out Of Memory Error

"SourceForge.net" <[email protected]> Wed, 16 Mar 2005 13:56:58 -0800
Newsgroups gmane.comp.java.openjms.devel
Message-ID <[email protected]>
Bugs item #1164825, was opened at 2005-03-16 16:56
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=474136&aid=1164825&group_id=54559

Category: server
Group: v0.7.6.1
Status: Open
Resolution: None
Priority: 5
Submitted By: anickles (anickles)
Assigned to: Nobody/Anonymous (nobody)
Summary: Out Of Memory Error

Initial Comment:
I am attempting to write and read fairly large messages 
to and from a OpenJms message queue. I can read and 
write an endless number of messages that are 
1,256,000 bytes long. When I double the size, I can 
write and read approximately a dozen messages before 
getting the following error message:

Error [server - 9] - Failed to process message due to out 
of memory error java.lang.OutOfMemoryError. 

if I increase the size of the message to for example 
6,000,000 bytes, I get the above error on the first 
message. 

I have tried this on two machines, one with a half 
megabyte of memory and one with 2 megabyte of 
memory. The results appear to be the same.  

This leaves me with two questions. First, how can I 
configure OpenJMS to accept larger message sizes? 
Second, if I configure OpenJMS to use a database 
repository, does this problem go away?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=474136&aid=1164825&group_id=54559


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click