java memory error with cpselect
- From: "paul rabie" <prabie@xxxxxxxxxxxxxxxxxxx>
- Date: Tue, 16 Aug 2005 22:29:09 -0400
Hello,
I'm using the image processing toolbox to register a large number of
images. I'm batch processing with the help of a GUI so the first
step is to select control points for a bunch of images at once. I
invariably generate a Java out-of-memory error after using the
cpselect tool a number of times. (I can generate the same error by
running cpselect repeatedly from the command line, so it's not my GUI
m-file.)
I've increased the maximum java memory to 66% of my physical memory
and this allows me to process about 40 images before I crash--not
intolerable, but still....
I've downloaded the monitormatlab .m file (a GUI that shows Matlab's
memory usage) and can see that each time I invoke cpselect the java
memory allocation increases by about 8Mb.
clear, clear java, and clear all do not help.
I'm using Matlab R14SP2 on a Pentium running Windows XP with 512MB of
physical memory and Java 1.4.2_04 from Sun.
If anyone can tell me what the problem is--or better yet how to fix
it--I'd greatly appreciate it.
-thanks,
paul.
.
- Prev by Date: Re: Image Acquisition toolbox
- Next by Date: Re: GUI text with paragraph
- Previous by thread: question about finding strings in a string array
- Next by thread: during the optimization,can the output of the Simulink model be putted into the workspace
- Index(es):
Relevant Pages
|