FAQ: Understanding Memory
[FAQMain.backup.html#999104 How do I allocate more memory for MIPAV?]
[FAQMain.backup.html#1000586 How much memory does MIPAV require to run?]
[FAQMain.backup.html#1000586 What affects memory requirements?]
[FAQMain.backup.html#1002409 How do I determine the amount of additional memory needed?]
[FAQMain.backup.html#1002837 How do I determine how much memory is currently being used?]
[FAQMain.backup.html#1002914 How do I free memory?]
[FAQMain.backup.html#1003009 How do I show or hide the splash screen?]
[FAQMain.backup.html#1024973 How do I show or hide toolbars?]
[FAQMain.backup.html#1047638 How can I load images from a CD on my Mac?]
[FAQMain.backup.html#1036815 How do I save a history of actions on images?]
[FAQMain.backup.html#1035970 How do I set up default file types to display or save?]
[FAQMain.backup.html#1039970 How do I save images in a different format?]
[FAQMain.backup.html#1011617 How do I combine two images for alphablending?]
[FAQMain.backup.html#1046141 Why doesn't MIPAV open my XML files?]
ContentsMemory |
How do I allocate more memory for MIPAV?
{| align="center" |
|}
Note: The maximum heap size should not exceed the amount of RAM installed on the computer. For example, if the computer has 512 Kb of RAM, a good number for the maximum heap size is 450 Kb, which leaves some space for the operating system and other applications.
|}
Note: If you click No, the memory settings for MIPAV do not change. To make the settings take effect, you must close and restart MIPAV.
How much memory does MIPAV require to run?
MIPAV requires a base of at least 10 Mb of random access memory (RAM). However, to correctly display image files and to quantify the data, you need to allocate more memory, disk swap space, or install additional memory beyond this base. Each time MIPAV is installed, it always defaults to 100 Mb.
{| align="left" | File:FAQMain.backup7.gif |}
Important:
If you reinstall MIPAV, be sure to reset the memory allocation.
What affects memory requirements?
Memory requirements fluctuate depending on the size and number of image files that are open at the same time. Factors affecting memory requirements are the following:
{| align="left" | File:FAQMain.backup11.gif |}
Note: Java provides a method called Garbage Collector that clears all unnecessarily reserved memory. Generally, the software does this automatically, when free memory becomes very limited. However, you can run the Garbage Collector at any time to free memory (refer to [FAQMain.backup.html#1002914 "How do I free memory?" ]).
How do I determine the amount of additional memory needed?
{| align="left" | File:FAQMain.backup13.gif |}
Example 1
If an image file is 2 Mb and you only want to display one image file at a time, you must allocate an additional 20 Mb of RAM to the base memory of 10 Mb to result in a memory requirement of 30 Mb.
{| align="left" | File:FAQMain.backup15.gif |}
Example 2
If the largest size image file is 2 Mb and you want to display 3 image files simultaneously, multiply 2 Mb by 10. Then multiply that sum by 3. Add that total to the base memory of 10 Mb to yield a memory requirement of 70 Mb.
How do I determine how much memory is currently being used?
In the MIPAV window, select Help > Memory Usage. The Memory Monitor dialog box ([FAQMain.backup.html#1041395 Figure 3]) appears.
{| align="center" |