STScI Logo

Specview
Java Plugin Memory Size

To increase the memory size available to the Java Virtual Machine (JVM) plugin for the Specview applet, do the following:

Windows

Start the Java Plug-in control panel. You can check

http://java.sun.com/products/plugin/1.3/docs/controlpanel.html 

Once the ControlPanel is open, under Advanced, type in the Java Runtime Parameters field, e.g.:

-Xmx1000M 

to increase to 1 Gb the available memory size.

Unix

If your are under Unix, and you are not sure what is the JVM your browser is using, you can check the following steps.

Under the user home directory, there should be a directory:

    .mozilla
    
    .netscape
    
    ?? 
    

Browsing the file plugin-list or pluginreg.dat under the corresponding directory, you can know the exact JVM used by your browser. Under .netscape:

PluginList Version 1

    /usr/j2se/jre/plugin/sparc//ns4/javaplugin.so 1033493714
    
    application/x-java-apple 
    

and under .mozilla:

    0:application/pdf:Portable Document Format:pdf:$
    
    /usr/local/j2sdk1.4.2_02/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so:$
    
    :$ 
    

So in the first case, you can change to directory /usr/j2se/jre/bin; in the second case, to directory /usr/local/j2sdk1.4.2_02/jre/bin and then execute:

./ControlPanel 

Once the ControlPanel is open, under Advanced, type on the Java Runtime Parameters field, e.g.:

-Xmx1000M 

to increase to 1 Gb the available memory size.(courtesy of Jesus J. Salgado, ESAC)