Posted by
Aryeh Weiss on
Jul 22, 2015; 9:18am
URL: http://imagej.273.s1.nabble.com/java-8-and-OSX-tp5013642p5013689.html
On 7/21/15 6:59 AM, Aryeh Weiss wrote:
>
> I have 1.8.0_51 (64 bit) downloaded two days ago.
>
>> Beyond this all I wish to add is a note to anyone involved in ImageJ
>> development that moving to newer JVM’s becomes increasingly important
>> as the older JVMs become increasingly difficult to get support for on
>> the Apple platform and also that anyone doing any development for
>> plugins is increasingly likely to be tooled up to reply on Java 8.
>>
>
> To aid in this effort, I will try to find some pattern in these
> problems. I run Fiji with ImageJ 1.50a20 (daily build) under OSX
> 10.10.4, 12GB (out of 16GB) assigned to Fiji, and Java 1.8.0_51.
>
> So far, the biggest problem is indeed slow update, but more so, failure
> to respond to certain actions in the ROI manger (actions which involve
> some kind of update -- eg select ROI or show-all). Also, it can take a
> really longtime for the menu to redisplay when selecting images (this is
> probably OSX specific because it needs to update the menu every time a
> different application or even a different image window is selected).
>
> In is often hard to distinguish between a failure, or something that
> will happen if one waits long enough.
> I try to use the memory monitor to see if something is happening, but
> that does not display anything.
>
> In any case, for the ROI manager, I was able to save the ROI set, close
> the ROI manager window, and then reload it. The reloaded ROI manager
> worked ok for a while.
> Closing and restarting Fiji temporarily resolves the problems.
> Also , I am working with large images (about 15k x 15k pixels, 16 bit).
>
I found some patterns in the problems.
The ROI manager is associated with updating at least some windows.
I have a macro that creates an ROI list in the ROI manager. After that
runs, I will often (but not always) not be able to toggle the show-all
checkbox.
When this happens, if I open Help>About ImageJ, a window of the correct
size will pop up, but it will be white, and will not update.
As soon as I close the ROI manager, it will immediately update and
display as expected.
Similarly, when the ROI show-all is not working, I also cannot draw a
selection in the image. Closing the ROI manager will immediately make it
possible to draw the selection.
This is reproducible -- I hope it helps to point in the direction of
where the problem(s) are.
--aryeh
--
Aryeh Weiss
Faculty of Engineering
Bar Ilan University
Ramat Gan 52900 Israel
Ph: 972-3-5317638
FAX: 972-3-7384051
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html