Login  Register

Re: Problem using ImageJ with touch-screen tablet

Posted by Justin McGrath on Nov 01, 2007; 7:58pm
URL: http://imagej.273.s1.nabble.com/Problem-using-ImageJ-with-touch-screen-tablet-tp3698090p3698092.html

I have a tablet too, but it's a different model.  ImageJ works fine
though.  Unless you have a lot of free memory, disabling swapping is
quite possibly a bad idea.  Have you tried the -Xmx option to set the
memory?  For instance -Xmx500m to allow Java to use 500 megabytes of
RAM.

Does it only fail when you use the stylus or does a mouse fail as
well?  Perhaps there's an issue with your tablet drivers.

Justin


On 11/1/07, Toby Cornish <[hidden email]> wrote:

> Dear Jonathan:
>
> I do not have experience with the tablet model you own, but I have used a touchscreen Fujitsu Lifebook extensively for marking up images for analysis.  It worked without a hitch.  Probably this is a problem specifically with your Thinkpad and ImageJ or Java.
>
> If you think that swapping is a problem, you could disable it and see if that helps (sometimes it will).  You could also try changing the amount of memory that ImageJ has available.  You can use the ImageJ memory monitor (Plugins | Utilities | Memory Monitor) to check up on memory usage, too.
>
> Good luck,
>
> toby
>
>
>
>
> Date:    Wed, 31 Oct 2007 15:38:25 -0400
> From:    Jonathan Rosenthal <[hidden email]>
> Subject: Problem using ImageJ with touch-screen tablet
>
> I've been trying unsuccessfully to use ImageJ on an IBM Thinkpad X41
> tablet, in that soon after I touch the pen to the screen to draw some
> necessary lines on scanned leaf images (in order to do assessments of
> leaf area lost) I get an ImageJ error message saying that there's no
> memory.  In fact, the tablet has a gig of RAM, so the problem is
> probably due to the relatively slow access to the hard drive, hindering
> swapping.  The OS is Windows XP tablet edition 2005 (version 2002)
> Service Pack 2.  Have any of you had similar problems using ImageJ with
> a tablet, and if so, how have you overcome them?
>
> A while back, I posted a query on assessing herbivory, and within a
> short time got quite a few thoughtful and helpful responses, for which
> I'm very grateful.  I'm hoping that you have a solution to the current
> problem.
>            Thanking you in advance,
>            Jonathan Rosenthal
>
>
> Toby C. Cornish, M.D., Ph.D.
> Pathology Resident
> Johns Hopkins Medical Institutions
> [hidden email]
>