[Insight-users] Java Bindings and heap size (fwd)

Lassi Paavolainen lassi.paavolainen at jyu.fi
Tue Nov 24 15:05:50 EST 2009


Hi Gaëtan,

On Tue, 24 Nov 2009, Gaëtan Lehmann wrote:

>
> Le 24 nov. 09 à 15:22, Julien Michel a écrit :
>
>> Gaëtan Lehmann a écrit :
>>> Hi,
>>> Should I add an option in ccmake/cmake-gui - JAVAC_ARGS for example, to 
>>> let the user pass some options to javac?
>>> Would it solve the problem for both of you?
>>> Regards,
>> 
>> Gaetan,
>> 
>> I did add two cmake variable showing in cmake-gui (in 
>> Languages/Java/CMakeLists.txt):
>> 
>> JAVA_INITIAL_HEAP_SIZE (set to 256m by default)
>> and
>> JAVA_MAXIMUM_HEAP_SIZE(set to 2G by default).
>> 
>
> I think that a more generic option would be better, because it would let the 
> user pass other option, like the java target version - someone had this 
> problem recently (Lassi?).

I vote for more generic option as you suggested in previous mail. I did 
set also target argument. Generic option for java compiler args would also 
be similar as C++ compiler args.

Lassi

>> I can provide the CMakeLists.txt if you want.
>
>
> Sure.
>
> If you are interested in working on wrapitk, I can also provide you a write 
> access to wrapitk repository - just let me know if you're interested.
>
> Gaëtan
>
>
>

-- 
Lassi Paavolainen, M.Sc
PhD Student in Computer Science
University of Jyväskylä
Software Engineer
BioImageXD (http://www.bioimagexd.net)
lassi.paavolainen at jyu.fi


More information about the Insight-users mailing list