From: Tim A. <ti...@in...> - 2002-12-22 00:26:55
|
The number of messages in a queue is limited by the memory allocated to the JVM. You have several options: . increase the memory available to the JVM running the OpenJMS server Eg. java -Xmx128m ..... . reduce the memoryCheckInterval. This determines how often memory consumption is checked - when available memory falls below the low water threshold, the garbage collection service is run: Eg. <GarbageCollectionConfiguration memoryCheckInterval="30" lowWaterThreshold="20" garbageCollectionInterval="120" garbageCollectionThreadPriority="5"> </GarbageCollectionConfiguration> . reduce the garbageCollectionInterval. This determines how often the garbage collection service is run, irrespective of the amount of free memory. Note that if you are using a released version 0.7.3.x there were two memory leaks which have subsequently been fixed in CVS. These were to do with server side QueueBrowser and Session management - you would only encounter this issue if you created a lot of QueueBrowsers and Session instances. Regards, Tim -----Original Message----- From: ope...@li... [mailto:ope...@li...]On Behalf Of sujay santra Sent: Saturday, December 21, 2002 8:43 PM To: ope...@li... Subject: [Openjms-user] what is the maximum queue size that openjms can handle ? Hello everybody, I am using openjms & tried to send messages but it failed after a certain no. of messages. When the queue size went over 20 K, it failed. What is the solution for it that the jms doesn't break. Besides I am testing on redhat linux 8.0 but i think there is a compatibility issue as openjms failed to start. Please help. Regards & Thanks in advance :-) Sujay Santra. |