2012-08-10, 11:04
Every Java Program relies on the "Java Virtual Machine". So it lives in a Sandbox created by java. Java reserves a certain amount of memory for this sandbox. There is an initial amount and a maximum amount.
These settings are passed to the virtual machine when launching LRTimelapse.
The problem is, that we have to deal with machines with huge amount of RAM and with ones with small available RAM. Another problem is that Mac and PC behave a little bit different when dealing with Java-Memory allocation.
The difference to LRT1 is now that the memory display in LRT is more accurate reflecting what java does. And Java only releases Memory if it requires it. So after loading one large sequence, free memory goes down but you can still load several other sequences after that with no problem because Java will free memory if necessary.
I hope I could clarify the way Java and LRTimelapse deal with memory a bit.
If you work with large sequences I still recommend decreasing the preview size in the Settings and Shift Reload the sequence to rebuild the previews.
These settings are passed to the virtual machine when launching LRTimelapse.
The problem is, that we have to deal with machines with huge amount of RAM and with ones with small available RAM. Another problem is that Mac and PC behave a little bit different when dealing with Java-Memory allocation.
- On Mac: See http://forum.lrtimelapse.com/Thread-lrti...art-on-mac for some information how to increase allocated memory on mac.
- On windows: For LRT2 there are different launchers in the Start-Menu/LRTimelapse.
The default launcher initially reserves 30% of tthe memory that is free when launching LRTimelapse and goes up to 90% (this is a compromise to be able to serve all machines). So if you have for example Lightroom started and a lot of other programs when launching LRT2 probably not much memory is reserved (see the memory indicator on the top right of the LRT2 window).
For people that have machines with lots of RAM there is a "large memory" launcher. It will reserve between 2 and 4 GB of RAM. For people with few RAM there is an "1GB launcher" that will allocate no more than 1GB.
The difference to LRT1 is now that the memory display in LRT is more accurate reflecting what java does. And Java only releases Memory if it requires it. So after loading one large sequence, free memory goes down but you can still load several other sequences after that with no problem because Java will free memory if necessary.
I hope I could clarify the way Java and LRTimelapse deal with memory a bit.
If you work with large sequences I still recommend decreasing the preview size in the Settings and Shift Reload the sequence to rebuild the previews.