Memory Management & Garbage Collection

What memory concern exists with this memoization implementation?
function memoize(fn) {
  const cache = {};
  
  return function(...args) {
    const key = JSON.stringify(args);
    if (cache[key]) {
      return cache[key];
    }
    
    const result = fn(...args);
    cache[key] = result;
    return result;
  };
}

const calculateExpensive = memoize((x, y) => {
  // Complex calculation
  return x * y;
});
Next Question (26/40)