Posts: 13,941
Threads: 189
Joined: Feb 2011
If you have a sequence with several thousend big images and try to load all previews, it may occur, that Java runs into memory issues.
First you should try to lower the size of the previews generated.
You will find settings for width and height of the created previews in the settings dialog. Lower the size to say the half and hit Shift-F5 on your sequence to recreate the previews.
Background and other solutions:
This behaviour ist not a problem of LRTimelapse, it’s java related.
When launching a Java Program you have to assign a certain amount of memory to the virtual machine. On runtime Java will manage that assigned memory.
The Problem is: if I assign to much, the App will crash on machines with less physical RAM. If I assign less, users with a lot of RAM and the demand to process a great amount of images will experience problems.
The Java memory management on Windows is pretty good and I did not manage to crash LR-Timelapse even with thousands of Images.
Unfortunately the virtual machine on the mac seems to have more problems dealing with the memory demand.
Solution on Mac
You can change the amount of memory that is assigned to the virtual machine. This makes sense if you have very little or a lot of ram in your machine.
In the downloaded ZIP-file, under LR-Timelapse.app\Contents\ you will find a file called Info.plist
open it in an editor and find the line:
‹string>-Xms256m –Xmx2048m</string›
the first value is the initial heap-size, you can increase it as well, but normally it's not necessary. The second values is the maximum heap size.
Now you can replace the second value (2048m) with a value (in MB) of memory you want to provide to LRTimelapse. For example if you have 6GB ram, you can try
-Xmx2048m or –Xmx4096m
If you however only have 2GB of RAM, you should lower the values, a good starting point would be -Xms256m –Xmx1024m
Please take care to not set it higher than the amount of RAM you can provide (take into account that your OS and other applications need RAM as well!)
Generic solution
If you are experiencing memory problems you could try to start LRTimelapse via commandline or batch-script. The command is:
java –Xms256m –Xmx2048m –jar *path*LR-Timelapse.jar
On Windows
You can edit the CMD file provided in the LRTimelapse install folder to increase the memory values and launch via cmd.