Increasing Java memory allocation
Handling graphics always requires a lot of memory: this is true especially for Java applications and applets. and the PTViewer applet used for viewing panoramic images is no exception. Here's the detailed procedure:
1. Open the Control panel:

1. Open the Control panel:

Then double-click on the "Java" icon to bring up the Java control panel. Click on the "Java" tab:


Then click on "View" for the Java Runtime settings window:

There you'll find the list of all available JREs; you can add the following parameter:
-Xmx400m
by editing the "Java Runtime Parameters" field. Normally it should suffice to add it only to the latest JRE (i.e. the one with the highest version number), though you may also want to add it to all versions or to simply deselect the oldest ones. Finally, close all the windows by clicking on "OK" and/or "Apply". A couple final notes:
1) Most likely, you'll have to restart your browser;
2) The above procedure is also applicable to Windows Vista, except only for some minor differences in the graphics and/or accessibility of control panels.
How much memory is needed?
Most browser normally allocate less than 100 Mb to java applets, which is not enough for large images. Here is a step-by-step procedure on how to increase the maximum amount of memory. This, of course, doesn't mean that Java will always take that much memory, but only that it will be allowed to take it up if needed. In this case, the above parameter value gives Java up to 400 Megabytes of memory.
You may also want to check out PTViewer's detailed page on how to better calculate the amount of memory needed. The biggest panoramic image currently available on this website is about 10 Megapixels (w * h ~= 10 million pixels).

There you'll find the list of all available JREs; you can add the following parameter:
-Xmx400m
by editing the "Java Runtime Parameters" field. Normally it should suffice to add it only to the latest JRE (i.e. the one with the highest version number), though you may also want to add it to all versions or to simply deselect the oldest ones. Finally, close all the windows by clicking on "OK" and/or "Apply". A couple final notes:
1) Most likely, you'll have to restart your browser;
2) The above procedure is also applicable to Windows Vista, except only for some minor differences in the graphics and/or accessibility of control panels.
How much memory is needed?
Most browser normally allocate less than 100 Mb to java applets, which is not enough for large images. Here is a step-by-step procedure on how to increase the maximum amount of memory. This, of course, doesn't mean that Java will always take that much memory, but only that it will be allowed to take it up if needed. In this case, the above parameter value gives Java up to 400 Megabytes of memory.
You may also want to check out PTViewer's detailed page on how to better calculate the amount of memory needed. The biggest panoramic image currently available on this website is about 10 Megapixels (w * h ~= 10 million pixels).
