Login  Register

Re: OutOfMemoryError in ImageJ applet

Posted by dscho on Jul 14, 2009; 10:31am
URL: http://imagej.273.s1.nabble.com/OutOfMemoryError-in-ImageJ-applet-tp3691798p3691799.html

Hi,

On Tue, 14 Jul 2009, vmunukutla wrote:

> When I am trying to view the images of huge dimensions in ImageJA applet
> I am getting java.lang.OutOfMemoryError: Java heap space error.

You cannot reserve more memory for a Java applet from the server side,
_except_ when the client runs Java 6 Update 10 or later _in the browser_.

The way to increase memory for those installations is described by

        https://jdk6.dev.java.net/plugin2/#JAVA_ARGUMENTS

This information was found in the first link Google showed me for "java
applet memory".

Probably a better way would be to run ImageJ via WebStart; there you can
specify much better what the requirements are.

Ciao,
Dscho