For some strange reason, OutOfMemory errors happen quite often.
And memory usage peaks from 300 MB straight to 850MB in a second.

It's probably a problem in either stompj client, HornetQ stomp
acceptor, or both. :(

```
23:15:34,673 WARN  [org.hornetq.core.protocol.stomp.StompConnection]
(hornetq-failure-check-thread) Connection failure has been detected: Did
not receive data from /127.0.0.1:43512. It is likely the client has
exited or crashed without closing its connection, or the network between
the server and client has failed. You also might have configured
connection-ttl and client-failure-check-period incorrectly. Please check
user manual for more information. The connection will now be closed.
[code=3]
23:15:34,675 WARN  [org.hornetq.core.server.impl.ServerSessionImpl]
(hornetq-failure-check-thread) Client connection failed, clearing up
resources for session 3b600f84-ae60-11e1-8637-74e50b0fafe6
23:15:34,678 WARN  [org.hornetq.core.server.impl.ServerSessionImpl]
(hornetq-failure-check-thread) Cleared up resources for session
3b600f84-ae60-11e1-8637-74e50b0fafe6
23:15:34,684 WARN  [org.hornetq.core.protocol.stomp.StompConnection]
(hornetq-failure-check-thread) Connection failure has been detected: Did
not receive data from /127.0.0.1:43513. It is likely the client has
exited or crashed without closing its connection, or the network between
the server and client has failed. You also might have configured
connection-ttl and client-failure-check-period incorrectly. Please check
user manual for more information. The connection will now be closed.
[code=3]
23:15:46,404 ERROR [stderr] (Thread-89) Exception in thread "Thread-89"
java.lang.OutOfMemoryError: Java heap space
23:15:46,405 ERROR [stderr] (Thread-89) 	at
java.util.Arrays.copyOf(Arrays.java:2786)
23:15:46,405 ERROR [stderr] (Thread-89) 	at
java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:71)
23:15:46,405 ERROR [stderr] (Thread-89) 	at
pk.aamir.stompj.internal.FrameReceiver.getLine(FrameReceiver.java:75)
23:15:46,406 ERROR [stderr] (Thread-89) 	at
pk.aamir.stompj.internal.FrameReceiver.processInComingFrame(FrameReceiver.java:55)
23:15:46,407 ERROR [stderr] (Thread-89) 	at
pk.aamir.stompj.internal.FrameReceiver.run(FrameReceiver.java:50)
23:15:47,247 ERROR [stderr] (Thread-90) Exception in thread "Thread-90"
java.lang.OutOfMemoryError: Java heap space
23:15:47,248 ERROR [stderr] (Thread-90) 	at
java.util.Arrays.copyOf(Arrays.java:2786)
23:15:47,248 ERROR [stderr] (Thread-90) 	at
java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:71)
23:15:47,249 ERROR [stderr] (Thread-90) 	at
pk.aamir.stompj.internal.FrameReceiver.getLine(FrameReceiver.java:75)
23:15:47,249 ERROR [stderr] (Thread-90) 	at
pk.aamir.stompj.internal.FrameReceiver.processInComingFrame(FrameReceiver.java:55)
23:15:47,250 ERROR [stderr] (Thread-90) 	at
pk.aamir.stompj.internal.FrameReceiver.run(FrameReceiver.java:50)
23:16:09,249 WARN  [org.hornetq.core.protocol.stomp.StompConnection]
(hornetq-failure-check-thread) Connection failure has been detected: Did
not receive data from /127.0.0.1:43517. It is likely the client has
exited or crashed without closing its connection, or the network between
the server and client has failed. You also might have configured
connection-ttl and client-failure-check-period incorrectly. Please check
user manual for more information. The connection will now be closed.
[code=3]
23:16:09,254 WARN  [org.hornetq.core.server.impl.ServerSessionImpl]
(hornetq-failure-check-thread) Client connection failed, clearing up
resources for session 4fcc7c3f-ae60-11e1-8637-74e50b0fafe6
23:16:09,255 WARN  [org.hornetq.core.server.impl.ServerSessionImpl]
(hornetq-failure-check-thread) Cleared up resources for session
4fcc7c3f-ae60-11e1-8637-74e50b0fafe6
23:16:19,575 ERROR [stderr] (Thread-99) Exception in thread "Thread-99"
java.lang.OutOfMemoryError: Java heap space
```