I think my concept of VRAM is different. The code displayed looks like you just renamed SD... to vram...
In any virtual RAM OS I have used, I just used RAM freely, and if it ran out, it was paged out to some sort of disk.
Perhaps you need to rethink the name?
1 Like