I have a war file that I deployed to receive messages from HTTP post. The messages received are then published to a topic. The only user allowed on topic is guest with read write priviledges. I have a client listening in on the topic that displays the received messages to the screen.
As I pump message every 10 ms, the java.exe memory keeps on increasing until I run out of memory. If I change the code slightly to publish to a queue instead, the memory does not go up. What am I doing wrong?
PS: using jboss3.2.3