Modified lime to dump gpu memory. It doesn't work yet