Error when upgrading to v7.1 of IM

Installed patch 118787-11 to upgrade from IM 7.0 to IM 7.1. I configured IM without the httpbind service. I have it seperated on two different machines. The server on one machine and the multiplexer on the other. The multiplexer seems to be running fine. However, I receive the following error message when I run the server.

Exception in thread "Thread-22" java.lang.OutOfMemoryError: unable to create new native thread

at java.lang.Thread.start0(Native Method)

at java.lang.Thread.start(Thread.java:574)

at com.iplanet.im.server.ServerSocketListener.startActivityMonitor(ServerSocketLis tener.java:64)

at com.iplanet.im.server.MultiplexSocketManager.<init>(MultiplexSocketManage r.java:74)

at com.iplanet.im.server.MultiplexSocketListener.run(MultiplexSocketListener.java: 32)

at java.lang.Thread.run(Thread.java:595)

Exception in thread "CompilerThread1" java.lang.OutOfMemoryError: requested 147896 bytes for Chunk::new. Out of swap space?

I also get the following in the xmppd.log file.

[01 May 2006 10:26:04,293] ERROR xmppd [Thread-18111] MultiplexManager#19426417 error sending BYE

[01 May 2006 10:26:04,295] INFO xmppd [Thread-18113] MultiplexManager#15170724 HELLO using 4.0 protocol

[01 May 2006 10:26:04,295] INFO xmppd [Thread-22] New Multiplexor Connection started from /10.XX.XXX.XX

[01 May 2006 10:26:04,295] INFO xmppd [Thread-18113] MultiplexManager#15170724 HELLO using 0.0 protocol

[01 May 2006 10:26:04,297] ERROR xmppd [Thread-18113] MultiplexManager#15170724 Read error java.net.SocketException: Connection reset

My IM is now unusable. What has happened?

[1679 byte] By [bkdaniel] at [2007-11-26 6:53:34]
# 1
Just looking at the Error shows JVM ran out of memory. Can you adjust the jvm heap size and try starting IM server again ?Add property in iim.conf file,eg. iim.jvm.maxmemorysize=512m ( Its in MB )see http://docs.sun.com/source/819-0430/AppaAdm.html#wp14589
arunsambamoorthy at 2007-7-6 15:23:51 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Instant Messaging...
# 2
Thanks for the idea. I added iim.jvm.maxmemorysize=512 to my iim.conf file and it still gives the same error. I bumped it up to 2048 and it still gives the same error.
bkdaniel at 2007-7-6 15:23:51 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Instant Messaging...
# 3
Can you check which application is comsuming most of your memory. And then stop that application.-Richa
Instant_messaging at 2007-7-6 15:23:51 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Instant Messaging...
# 4
I installed both patch 118787-11 and 118790-13 and IM seems to be working now.
bkdaniel at 2007-7-6 15:23:51 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Instant Messaging...
# 5
Yep , if I am not wrong , there was a memory leak in one of the previour patches.Mridul
MridulM at 2007-7-6 15:23:51 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Instant Messaging...