- shared_ptr<Film> film = new_test_film2 ("threed_test4");
- shared_ptr<FFmpegContent> L (new FFmpegContent(TestPaths::private_data() / "LEFT_TEST_DCP3D4K.mov"));
+ ConfigRestorer cr;
+
+ /* Try to stop out-of-memory crashes on my laptop */
+ Config::instance()->set_master_encoding_threads (boost::thread::hardware_concurrency() / 4);
+
+ auto film = new_test_film2 ("threed_test4");
+ auto L = make_shared<FFmpegContent>(TestPaths::private_data() / "LEFT_TEST_DCP3D4K.mov");