Hi,
You are keeping track of the full history of the outputs by saving the output variable,
You might want to do instead
l = []
for i in range(10):
    out = vgg19(Variable(torch.randn([1,3,224,224])))
    l.append(out.data)