|
From: Patrick Y. <kc...@ce...> - 2005-07-25 03:03:25
|
Hi MC, I am sorry that Hermes Monitor client is designed for demonstration purpose only. Everytime it receives a message, it stores the messages in the memory. Therefore, Monitor is suitable for testing the connectivity and parameters only. You are recommended to write your own Hermes client for serious applications. Hermes server is using another approach (storing the sent/received messages at database and file repository), so this problem only occurs in the Monitor. Regards, Patrick Yee Center for E-Commerce Infrastructure Development Making E-Commerce Everyday Commerce em...@og... wrote: > > When I repeatedly sent a message with one attachment of size 600KB 100 > times from the MSH monitor in one Windows PC (call it A) to the MSH > monitor in another Windows PC (call it B), the monitor in B showed the > java.lang.OutOfMemoryError after displaying the first 66 messages > received in the "Receive History" (the remaining 34 messages could be > displayed after OutOfMemoryError occurred), while the monitor in A > revealed all 100 messages sent with the state "Sent and > Acknowledgement Received" when right-clicking the messages in the > "Sent History" in A. > > The OutOfMemoryError still occurred until the MSH monitor in B was > restarted. Right after the restart, the remaining 34 messages were > displayed in the "Receive History". > > The default MaxPayloadSize (1000000) in msh_client.properties.xml is > used. PC A has 512MB RAM and paging file size allocated is 768MB, > while PC B has 768MB RAM and paging file size allocated is 1152MB. > > I have some questions based on the above incident: > > 1. Although PC B did not reveals all messages, PC A reveals that all > mesages "Sent and Acknowledgement Received", I wonder whether PC B > successfully receive all 100 messages? > 2. Any recommendation on the hardware requirements on running Hermes, > especially a large volume of messages need to be processed? > 3. Although PC B has more RAM and virtual memory than PC A, but the > out of memory error did not occur in A. Is there any difference in the > memory or other hardware requirement for sending messages and > receiving messages. > 4. Any other experience sharing is welcomed. > > > Regards, > MC |