Label Causes OutOfMemory error
Brought to you by:
robertmacgrogan
If the archive contains 2000+ files and projects a out of
memory error will occur on Labels rebuild. The
outOfMemory error is occuring in the JLibDiffAlgorithm
class in the makeDiff function.
One workaround is to increase your the heap size from -
Xmx500m to -Xmx750m. We're using PIII windows
servers machines.
Logged In: YES
user_id=258727
The JLibDIff algorithm is not the best. JRCS Myers is
better. GNU is the best (but requires that you use the GPL
release of SJ).
You can change your algorithm in the conf.xml file.
<DiffAlgorithmClass>JLIbDiff.JRCSMyersAlgorithm</DiffAlgorithmClass>
or
<DiffAlgorithmClass>JLIbDiff.GnuDiffAlgorithm</DiffAlgorithmClass>
Logged In: YES
user_id=509219
Rob-
why not using then GnuDiffAlgorithm as standard?
Timo
Logged In: YES
user_id=258727
I thought GnuDiffAlgorithm already was the default for the
GPL distribution, but I think there may be a problem in the
build.