Created
November 4, 2016 12:38
-
-
Save jtslear/4347099f7c48550b43fb3efdef2271eb to your computer and use it in GitHub Desktop.
AWS Lambda Memory Behavior
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
var arrayA = []; | |
var arrayB = []; | |
module.exports.test = (event, context, callback) => { | |
var arrayC = []; | |
var arrayD = []; | |
arrayA.push("A"); | |
arrayB.push("B"); | |
arrayC.push("C"); | |
arrayD.push("D"); | |
console.log("Array A:", arrayA); | |
console.log("Array B:", arrayB); | |
console.log("Array C:", arrayC); | |
console.log("Array D:", arrayD); | |
arrayA = []; | |
arrayC = []; | |
callback(null); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment