Quantcast
Channel: Ignite Realtime : Discussion List - Openfire Support
Viewing all articles
Browse latest Browse all 4596

Memory leak with openfire 3.10.3

$
0
0

I am observing openfire memleak after upgrading to 3.10.3. When I took a heap dump after taking one single chat (closed the MUC session), I observed that openfire is still holding those xmpp messages belong to that chat. This is confirmed with 2nd chat also (the xmpp messages for both chats are in memory).

 

This behaviour is very obvious in the server with full load causing memleak in 3 hours.

 

Are there any configuration missing?

 

Any one have idea?

 

Environment:

Openfire 3.10.3

Smack 3.3.0

Using embedded db

 

Messages that are held in memory are send using following API:

 

    Message smackMessage = new Message();
    smackMessage.setTo(muc.getRoom());
    smackMessage.setType(Type.groupchat);
    smackMessage.setBody(msg);
    muc.sendMessage(smackMessage);

Viewing all articles
Browse latest Browse all 4596

Trending Articles