2011/10/25 Stefan Küng <tortoisesvn_at_gmail.com>:
> On 25.10.2011 09:34, Jean-Marc van Leerdam wrote:
>> Hi,
>>
>> On 24 October 2011 19:04, Stefan Küng <tortoisesvn_at_gmail.com
>> <mailto:tortoisesvn_at_gmail.com>> wrote:
>>
>> On 24.10.2011 13:24, Konstantin Kolinko wrote:
>> > OutOfMemory.
>> >
>> > Either you have too little memory configured for Java process, or
>> > there is a memory leak in the program.
>> >
>> > Memory size limit can be specified when staring java by using
>> -Xmx switch.
>> >
>> > Doc:
>> >
>> http://download.oracle.com/javase/6/docs/technotes/tools/windows/java.html
>>
>> To fix this, edit the fop.bat file in the tools/fop folder. Find the
>> line
>> set JAVAOPTS=-Denv.windir=%WINDIR%
>> and change it to
>> set JAVAOPTS=-Denv.windir=%WINDIR% -Xms256m -Xmx1024m
>>
>>
>> Why do we have a fop.bat and a fop.cmd with comparable but not identical
>> contents? Can we not have one call the other and keep all logic in a
>> single file (or get rid of the .bat one)?
>
> fop.bat is from earlier versions of fop. The new 1.0 version however
> renamed that file - since I didn't had the time to change the doc build
> process, I just copied the old fop.bat from the old fop version...
>
> Lazy, I know :)
The 1.0 tag of FOP shows both fop.bat and fop.cmd, but in their trunk
only fop.cmd is present.
You cannot use old fop.bat, because library names versions are
hardcoded there. The fop.cmd is better, because it uses a loop to list
all library files. :)
Best regards,
Konstantin Kolinko
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2863549
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-10-25 20:44:25 CEST