Page 1 of 1
Is Broadleaf commerce site performant?
Posted: Thu May 31, 2012 8:11 am
by meifullerton
I'm running 1.6.0-G.A on Tomcat 6 with MySQL 5. I often get "out of memory" dump even in development mode. Has anyone done load/performance testing? can you please share your testing metrics?
thanks
Mei
Re: Is Broadleaf commerce site performant?
Posted: Sat Jun 02, 2012 3:59 pm
by pokemon007
I encounter the same issue. It looks Quartz is the one that causes this problem. Haven't been able to nail down the exact problem. No load testing done either. Please share if you know the cause and resolution.
Thank you!
Re: Is Broadleaf commerce site performant?
Posted: Mon Jun 04, 2012 7:48 am
by bpolster
We use the following settings during development:
-XX:MaxPermSize=256M -Xmx1024M
You could likely develop with half of that setting. The key is likely the perm-space, try upping your setting for that and see if things improve.
Broadleaf is used in several high volume sites.
Re: Is Broadleaf commerce site performant?
Posted: Tue Jun 05, 2012 10:43 pm
by pokemon007
Out setting is -Xmx768m -XX:MaxPermSize=128m for a VPS with 2G Ram running two tomcat instances (the other one runs with very small footprint). It's our staging environment with very low traffic. However, we need to restart it on the daily basis. Not sure if there is a leak caused by some scheduled task.
Re: Is Broadleaf commerce site performant?
Posted: Wed Jun 06, 2012 6:28 pm
by bpolster
Those setting should be fine. There is one job that indexes the product catalog for search that runs every hour by default. We haven't heard of any issues with this before.
What is the size of your product catalog?
A few things to try:
- Turn on gc logging for your VM to see if the trending that looks like a leak (e.g. available memory decreasing consistently overtime) or if it looks like you've got a spike in memory needs at a moment in time issue that might be caused by a scheduled job.
- Since you have a hunch that it is related to the scheduled job, you can try commenting out the scheduled job configuration in your applicationContext-search.xml file. If this does solve the problem, we can take a closer look.
Thanks,
Re: Is Broadleaf commerce site performant?
Posted: Thu Jun 07, 2012 1:22 am
by pokemon007
Thank you, Brian. We are still in developing phase and haven't started stress test, so no real catalog loaded yet except for the demo catalog from BroadleafCommerce demo package. I'll try these couple of options when we get to the point for performance issue, and will let you know the result.
Regards,
-Charlie