My Oracle Support Banner

Mshttpd Massive Memory Leak Of Buffer Allocated In Msg_fromhead (Doc ID 2419993.1)

Last updated on AUGUST 07, 2023

Applies to:

Oracle Communications Messaging Server - Version 8.0.2 and later
Information in this document applies to any platform.


Consider a Mail Server setup running either Oracle Communications Messaging Server 64bit (built Jun 14 2018).

Note:  This issue can also occur with Messaging Server version

The above setup would run out of swap space.

Upon analysis, the following processes can be noticed to have using all the available swap:


   /usr/jdk/instances/jdk1.7.0/bin/amd64/java -cp /gcs/app/mail/glassfish3/glassfish/modules/glassfish.ja

To return the server to normal operation, the server would need to be restarted.

Note: Attempts to run the '' script would fail with the following error:

*** libc thread failure: initial allocation failed; swap space exhausted?
./ line 699: 22397: Abort(coredump)

It appears that mshttpd might have a memory leak.


Loaded the Messaging Server hotfix patch.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.