Skip to main content
Inspiring
November 5, 2020
Answered

AERender processes used to close themselves, now they stay open and tie up RAM?

  • November 5, 2020
  • 3 replies
  • 624 views

I've been background rendering in AE for many years by using the following script as a Mac droplet. I've noticed after the most recent AE update that these processes stay open after the render finishes now, and continue to gobble up RAM until I kill them in Activity Monitor.

I don't really understand to code that well; I just update it every year as Adobe changes the application path. Is there something that I should change in it to tell AERender to shut down after rendering?

 

Thanks!

 

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>AMApplicationBuild</key>
	<string>381</string>
	<key>AMApplicationVersion</key>
	<string>2.4</string>
	<key>AMDocumentVersion</key>
	<string>2</string>
	<key>actions</key>
	<array>
		<dict>
			<key>action</key>
			<dict>
				<key>AMAccepts</key>
				<dict>
					<key>Container</key>
					<string>List</string>
					<key>Optional</key>
					<true/>
					<key>Types</key>
					<array>
						<string>com.apple.applescript.object</string>
					</array>
				</dict>
				<key>AMActionVersion</key>
				<string>1.0.2</string>
				<key>AMApplication</key>
				<array>
					<string>Automator</string>
				</array>
				<key>AMParameterProperties</key>
				<dict>
					<key>source</key>
					<dict/>
				</dict>
				<key>AMProvides</key>
				<dict>
					<key>Container</key>
					<string>List</string>
					<key>Types</key>
					<array>
						<string>com.apple.applescript.object</string>
					</array>
				</dict>
				<key>ActionBundlePath</key>
				<string>/System/Library/Automator/Run AppleScript.action</string>
				<key>ActionName</key>
				<string>Run AppleScript</string>
				<key>ActionParameters</key>
				<dict>
					<key>source</key>
					<string>on run {input, parameters}
	tell application "Terminal"
		activate
		do script with command "/Applications/Adobe\\ After\\ Effects\\ 2020/aerender -sound \"ON\" -continueOnMissingFootage -project " &amp; "\"" &amp; input &amp; "\""
	end tell
end run</string>
				</dict>
				<key>BundleIdentifier</key>
				<string>com.apple.Automator.RunScript</string>
				<key>CFBundleVersion</key>
				<string>1.0.2</string>
				<key>CanShowSelectedItemsWhenRun</key>
				<false/>
				<key>CanShowWhenRun</key>
				<true/>
				<key>Category</key>
				<array>
					<string>AMCategoryUtilities</string>
				</array>
				<key>Class Name</key>
				<string>RunScriptAction</string>
				<key>InputUUID</key>
				<string>B8C1A45A-E44D-4749-8579-282EEB1D90D7</string>
				<key>Keywords</key>
				<array>
					<string>Run</string>
				</array>
				<key>OutputUUID</key>
				<string>F025B0F0-769C-4B4A-AC32-064C81F157F1</string>
				<key>UUID</key>
				<string>29E6162F-61DE-4EC0-92D9-EE35DE94CA51</string>
				<key>UnlocalizedApplications</key>
				<array>
					<string>Automator</string>
				</array>
				<key>arguments</key>
				<dict>
					<key>0</key>
					<dict>
						<key>default value</key>
						<string>on run {input, parameters}
	
	(* Your script goes here *)
	
	return input
end run</string>
						<key>name</key>
						<string>source</string>
						<key>required</key>
						<string>0</string>
						<key>type</key>
						<string>0</string>
						<key>uuid</key>
						<string>0</string>
					</dict>
				</dict>
				<key>isViewVisible</key>
				<true/>
				<key>location</key>
				<string>403.000000:654.000000</string>
				<key>nibPath</key>
				<string>/System/Library/Automator/Run AppleScript.action/Contents/Resources/English.lproj/main.nib</string>
			</dict>
			<key>isViewVisible</key>
			<true/>
		</dict>
	</array>
	<key>connectors</key>
	<dict/>
	<key>workflowMetaData</key>
	<dict>
		<key>workflowTypeIdentifier</key>
		<string>com.apple.Automator.application</string>
	</dict>
</dict>
</plist>

 

This topic has been closed for replies.
Correct answer Clint Porter9977593

Starting last week or so, possibly after an AE point update, this behavoir has stopped for me and things have returned to normal. Woohoo!

3 replies

nicholash68515175
Known Participant
September 6, 2023

Interested in solution as well!

Community Expert
January 7, 2021

Personally, I prefer to use Render Garden. I own several BG rendering apps but RG is the fastest by far, the easiest. to manage, allows me to continue using AE while rendering, and gives me a mezzanine format digital intermediate and an MP4 for the client to review at the same time. It paid for itself on the first day.

Inspiring
January 12, 2021

Thanks for the recommendation!

Clint Porter9977593AuthorCorrect answer
Inspiring
January 7, 2021

Starting last week or so, possibly after an AE point update, this behavoir has stopped for me and things have returned to normal. Woohoo!