Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
GA5/6 has big memory leaks (5GB+) on Websphere
I've installed minimal versions of LR 6.2 CE GA5/6 on our Websphere 8.0 environments, and, the JVM is configured with initial and maximum heap sizes set at 4 GB. With just one user, the usage on the server goes over 5 GB after only a few hours of usage. Without setting these large heap sizes, the application runs out of memory on bootup.
We have no additional portlets installed from the delivered code, and, only one custom theme, which only has some minor css changes.
In previous versions (6.2 GA 3/4), we hardly ever saw usage requirements go over 2 GB of memory (with JVM 2 GB heap size defined).
Has anyone had similar issues on Websphere? Or similar memory requirements on other app servers with these releases? I can't see an issue with setting (and maintaining) 4 gb of memory reserved, but, this is never more than ONE concurrent user. I hate to see what will happen with more.
We have no additional portlets installed from the delivered code, and, only one custom theme, which only has some minor css changes.
In previous versions (6.2 GA 3/4), we hardly ever saw usage requirements go over 2 GB of memory (with JVM 2 GB heap size defined).
Has anyone had similar issues on Websphere? Or similar memory requirements on other app servers with these releases? I can't see an issue with setting (and maintaining) 4 gb of memory reserved, but, this is never more than ONE concurrent user. I hate to see what will happen with more.
Hi David,
I've seen no issues using other servers (Wildfly for example).
Probably you should check your JVM (if using IBM JDK for example) and maybe tunning it accordingly.
I've seen no issues using other servers (Wildfly for example).
Probably you should check your JVM (if using IBM JDK for example) and maybe tunning it accordingly.
Juan Gonzalez:
Probably you should check your JVM (if using IBM JDK for example) and maybe tunning it accordingly.
Hi Juan:
Thanks for letting me know you don't see this behavior on Wildfly, but, how much memory is it using? Are you setting large heap sizes, i.e. 4gb?
I suspect it has something to do with Websphere or my heap size settings, as it doesn't bloat up like this on Tomcat either. So, am hoping someone might be able to let me know their experience and provide some advice there.
David
Community
Company
Feedback