Storyline 2 hangs due to memory issues
I've been working on a very large course for a couple of months. I recently upgraded a desktop machine (16Gb memory) and a Surface Pro 3 (8 Gb memory) to Windows 10, and found that Storyline 2 on both machines would work as expected for a few minutes, then start getting slower and lagging behind keyboard entry, and apparently hang. I tried all of the advice on other threads about troubleshooting slow / sluggish performance of Storyline, to no effect. So Storyline looked like it had become useless to me.
On the Surface Pro, I got fed up and left it running after hitting the Save button. It took almost 1 hour for the backup bar at the bottom to appear, then almost another hour for the backup to complete. So Storyline is getting the job done, but so slowly as to be unusable. I turned on the resource monitor under the Task Manager: at rest, with my course open, Storyline was using about 840Mb of committed memory; this blew out to over 3Gb when I hit the Save button.
Issue #1: it looks to me that the approach to backup used by Storyline 2 is grossly inefficient; as though it's building an image in memory then writing it to disk. OK for files that are small in comparison to available memory; terrible for very large files.
In previous versions of Windows, I'd had to fool around with pagefile sizes to resolve performance issues. The pagefile is a place where Windows offloads low volatility data when it starts running out of memory. So I did some Googling on pagefile sizes to get the latest advice, then did some experimenting.
On the Surface Pro, the default setting was to let Windows 10 work out the pagefile size; Windows recommended a size just over 1Gb, which was probably too small since Storyline was chewing up almost 3Gb at peak. So I told Windows to allow a minimum size of 2.5 Gb and a maximum of 5 Gb. Now when I hit the Save button, the backup bar appeared immediately, and the save completed in a few minutes. And Storyline's memory usage never went over 1.2 Gb. So I did the same on the desktop machine, with the same result.
Issue #2: Windows 10 is lousy at memory management.
However, if I make some changes to the course before saving, the backup time jumps out and the maximum memory usage jumps up, but nowhere near what they were before. Refer to Issue #1.
So, if you're experiencing Storyline performance issues, maybe check out what's happening with memory using the resource monitor, and if necessary, take control of the pagefile away from Windows and increase its size. Set the minimum to the maximum memory usage you see with the resource monitor, and allow double that for the maximum.
I hope this helps people building larger courses.