Page 1 of 1

Parallel

Posted: Tue Apr 21, 2015 3:01 pm
by ks31890
As we have a relatively good computer with 32GB and 12-core, how may I set up LogicalDOC (Enterprise) so that it will take advantage of the hardware by running jobs in parallel? Thanks

Re: Parallel

Posted: Tue Apr 21, 2015 3:25 pm
by agaspa
You should first install a version of the Java virtual machine 64bit.
If this is a new installation we recommend Java SDK 1.8 (AKA Java SE 8)

With a JVM 64bit it is possible to increase the working space in the memory available to the system.
In your case I would recommend 6GB.

Another thing you can do is to use a 64-bit instance of MySQL and increase the memory available to the DB engine

Re: Parallel

Posted: Tue Apr 21, 2015 4:36 pm
by ks31890
Would you tell me more specific which config files I need to change? Thanks a lot

Re: Parallel

Posted: Thu Apr 23, 2015 4:25 pm
by agaspa
Hi @ks31890,
you have installed on a Windows or a Linux?
First you need to check if the Javqa virtual machine you have installed is 64-bit or 32.
The 32-bit version has a limit of assignment of about 1400MB of memory while the 64 allows you to assign even 6GB of memory to run a program.

On Windows NT, just type java -version in your console.

If a 64 bit version is running, you'll get a message like:

Code: Select all

java version "1.7.0_65"
Java(TM) SE Runtime Environment (build 1.7.0_65-b19)
Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)
A 32 bit version will show something similar to:

Code: Select all

java version "1.7.0_65"
Java(TM) SE Runtime Environment (build 1.7.0_41-b02)
Java HotSpot(TM) Client VM (build 20.14-b01, mixed mode, sharing)