FYI: we run 3 OFBiz instances (trunk, stable - aka R13.07 branch - and old - aka R12.04 branch) on the ASF OFBiz-VM machine with only *4GB*, try it yourself:
https://demo-trunk-ofbiz.apache.org/catalog/control/main?USERNAME=admin&PASSWORD=ofbiz&JavaScriptEnabled=Y
https://demo-stable-ofbiz.apache.org/catalog/control/main?USERNAME=admin&PASSWORD=ofbiz&JavaScriptEnabled=Y
https://demo-old-ofbiz.apache.org/catalog/control/main?USERNAME=admin&PASSWORD=ofbiz&JavaScriptEnabled=Y

They automatically restart every Europe night with a complete DBs reinstall.

But it's right that for developing it's better to use more memory because you 
have other tools around.

And I'd not use the configuration above on a production server!
For a serious project you might even need a cluster with several webapp 
machines and several DBMS machines.
Then be sure to use the "Distributed Entity Cache Clear (DCC) Mechanism"
https://cwiki.apache.org/confluence/display/OFBIZ/Distributed+Entity+Cache+Clear+%28DCC%29+Mechanism

The reason the Java ecosystem is so widespread is also because it easily scales 
well...

Jacques


Le 14/04/2016 07:39, John Spikowski a écrit :
"These days I wouldn’t touch an ofbiz project with a development machine
that has less than 8 GB. "

Thanks. You just redefined the 'monster' for me. Java is a resource hog
and always has been. The only reason OFBiz runs as fast as it does is
because the complete ERP system is cached in memory. No one has admitted
to all cores pegging at 100% when a request is made.

This is a painted elephant that is expense to feed and keep healthy.

I'm sure there is salvageable business logic stored in the JAR but I'm
not going to try and flush it out from the framework.


On Wed, 2016-04-13 at 17:15 -0700, Paul Mandeltort wrote:
Also make sure you have a beefy amount of RAM. Eclipse on its own needs at 
least 2 GB on top of your regular OS overhead, and if you’re running OFbiz 
locally you want at least an additional gig or two. Your initial compile when 
you will always take much longer as well.

These days I wouldn’t touch an ofbiz project with a development machine that 
has less than 8 GB.

On Apr 13, 2016, at 4:50 PM, Jeremy Olmstead <[email protected]> wrote:

It probably depends on your system, but when I restart, it is back up and
running in about 15 seconds.
On Apr 13, 2016 2:11 PM, "anon" <[email protected]> wrote:

Hello List,
I have been looking at the tutorials on youtube of the ofbiz framework and
I was wondering what the development experience look like. I noticed in the
vid that the server has to be restarted frequently and that the startup
time can take more that 5 min. Is that really what is going on?
After seeing that, I tried the moqui framework, because I am looking for a
fully loaded opensource ecommerce framework. Sadly, moqui uses gradle and I
do not have a good experience with gradle. It is just too slow for my
taste. Is there any trick that you guys use to speed up thae ofbiz startup
time or do you guys just live with it? I left Javaland years ago because of
that issue...
Thanks.




Reply via email to