Openfire hangs up when java memory is near full

Openfire hangs up every 3 or 5 days when the java memory reaches aprox. 90 / 95% occupation. We have about 100 concurrent users and 256 MB of memory java and I can not figure out what the problem is. 3 users (IT admins) have added all groups at rosters.

Thanks in advance.