Status/Resolution/Reason: Closed/Withdrawn/CannotReproduce
Reporter/Name(from Bugbase): Dave DeVol / ()
Created: 11/09/2018
Components: Core Runtime, Performance
Versions: 2016
Failure Type: Memory Leak
Found In Build/Fixed In Build: 2016 /
Priority/Frequency: Normal / All users will encounter
Locale/System: ALL / Win 2016
Vote Count: 4
<cfscript>
setting requesttimeout=600;
function testObjectLoadSave() {
var itemCount = 1000;
var thingMap = {};
for (var i=0; i<itemCount; i++) {
var thing = new thing();
thing.setId(i);
thing.setName("Thing " & i);
thingMap[i] = ToBase64(ObjectSave(thing)); // what we store in Redis
}
for (var i=0; i<itemCount; i++) {
var cached = thingMap[i]; // what we get back from Redis
var thing = ObjectLoad(ToBinary(cached)); // comment this out and it will not eat up memory
// WriteDump(thing);
}
// WriteDump(thingMap);
}
start = GetTickCount();
loopCount = 1000;
for (i=0; i<loopCount; i++) {
testObjectLoadSave();
}
end = GetTickCount();
</cfscript>
Attachments:
Comments: