<div><br></div>OK, here&#39;s the ITK bug report<div><a href="http://public.kitware.com/Bug/view.php?id=10322">0010322</a></div><div><a href="http://public.kitware.com/Bug/view.php?id=10322"></a><br><br><div class="gmail_quote">
2010/2/22 Gaëtan Lehmann <span dir="ltr">&lt;<a href="mailto:gaetan.lehmann@jouy.inra.fr">gaetan.lehmann@jouy.inra.fr</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
<br>
<br>
<br>
Le 22 févr. 10 à 18:12, Luis Ibanez a écrit :<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Darren,<br>
<br>
<br>
          Thanks for tracking this problem.<br>
<br>
Gaetan:<br>
<br>
    Do you have any objection to this patch ?<br>
</blockquote>
<br></div>
Hi,<br>
<br>
The fix is good, but specific to that problem. I&#39;ve seen some other reports where 1GB of RAM may be too much, or where other options may be passed to javac.<br>
So I think a more general fix would be better - I don&#39;t have enough time to code it now though.<br>
<br>
If the solution to apply the patch in macport build is good enough, I&#39;d like to wait before fixing that problem in wrapitk.<br>
<br>
Darren, can you file a bug report in ITK&#39;s bugtraker?<br>
<br>
Thanks,<br>
<br>
Gaëtan<div><div></div><div class="h5"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
Darren:<br>
<br>
     Would you like to get write access to ITK ?<br>
     and commit these changes ?<br>
<br>
<br>
Otherwise, I&#39;ll be happy to commit the patch.<br>
<br>
<br>
    Please let me know,<br>
<br>
<br>
            Thanks<br>
<br>
<br>
                 Luis<br>
<br>
<br>
----------------------------------------------------------------------------------------------------------<br>
On Fri, Feb 19, 2010 at 8:17 PM, Darren Weber<br>
&lt;<a href="mailto:darren.weber.lists@gmail.com" target="_blank">darren.weber.lists@gmail.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
In the MacPorts build for InsightToolkit, we&#39;ve noticed and replicated a<br>
build failure for the java wrapping at about 94% completion.<br>
A possible fix is to add &quot;-J-mx1024m&quot;  to<br>
patch Wrapping/WrapITK/Java/CMakeLists.txt<br>
<br>
--- Wrapping/WrapITK/Java/CMakeLists.txt.orig   2010-02-18<br>
18:44:08.000000000 -0800<br>
+++ Wrapping/WrapITK/Java/CMakeLists.txt        2010-02-18<br>
18:44:39.000000000 -0800<br>
@@ -74,7 +74,7 @@ FOREACH(Kit ${java_itk_modules})<br>
       OUTPUT ${WRAP_ITK_JAVA_DIR}/InsightToolkit/${File}.class<br>
       DEPENDS ${WRAP_ITK_JAVA_DIR}/InsightToolkit/${File}.java<br>
${WRAP_ITK_JAVA_DIR}/InsightToolkit/JavaCWD.java ${ITK_BASE_JAVA_FILE}<br>
${ORDERING_DEP}<br>
       COMMAND ${JAVA_COMPILE}<br>
-      ARGS -classpath &quot;${ITK_JAVA_CLASSPATH}&quot; -d &quot;${ITK_JAVA_OUTPATH}&quot;<br>
+      ARGS -classpath &quot;${ITK_JAVA_CLASSPATH}&quot; -d &quot;${ITK_JAVA_OUTPATH}&quot;<br>
-J-mx1024m<br>
<br>
${WRAPPER_LIBRARY_OUTPUT_DIR}/${WRAP_ITK_JAVA_DIR}/InsightToolkit/${File}.java<br>
       COMMENT &quot;Compile ${File}.java&quot;)<br>
   ENDFOREACH(File)<br>
@@ -86,7 +86,7 @@ FOREACH(Kit ${java_itk_modules})<br>
     OUTPUT ${KIT_FILE_NAME}.class<br>
     DEPENDS ${KIT_FILE_NAME}.java ${FULL_JAVA_DEP_FILES}<br>
${ITK_BASE_JAVA_FILE}<br>
${WRAPPER_LIBRARY_OUTPUT_DIR}/${WRAP_ITK_JAVA_DIR}/InsightToolkit/JavaCWD.java<br>
${ORD<br>
ERING_DEP}<br>
     COMMAND ${JAVA_COMPILE}<br>
-    ARGS -classpath &quot;${ITK_JAVA_CLASSPATH}&quot; -d &quot;${ITK_JAVA_OUTPATH}&quot;<br>
+    ARGS -classpath &quot;${ITK_JAVA_CLASSPATH}&quot; -d &quot;${ITK_JAVA_OUTPATH}&quot;<br>
-J-mx1024m<br>
     ${KIT_FILE_NAME}.java<br>
     COMMENT &quot;Building ${KIT_FILE_NAME}.class&quot;)<br>
   SET(ITK_JAVA_KITS_FILES ${ITK_JAVA_KITS_FILES} ${KIT_FILE_NAME}.class)<br>
<br>
_____________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.html" target="_blank">http://www.kitware.com/products/protraining.html</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
<br>
<br>
</blockquote></blockquote>
<br></div></div><font color="#888888">
-- <br>
Gaëtan Lehmann<br>
Biologie du Développement et de la Reproduction<br>
INRA de Jouy-en-Josas (France)<br>
tel: +33 1 34 65 29 66    fax: 01 34 65 29 09<br>
<a href="http://voxel.jouy.inra.fr" target="_blank">http://voxel.jouy.inra.fr</a>  <a href="http://www.itk.org" target="_blank">http://www.itk.org</a><br>
<a href="http://www.mandriva.org" target="_blank">http://www.mandriva.org</a>  <a href="http://www.bepo.fr" target="_blank">http://www.bepo.fr</a><br>
<br>
</font></blockquote></div><br></div>