I'm not sure what you mean by "How do I have a global variable that is used for only one of two pages". Global variables are only "global" within the current page. If you navigate to another page they automatically disappear along with everything else on the page you are leaving.
Anyway, if you have some data structure using up memory you can allow the garbage collector to reclaim the memory if you remove all references to the structure.
In your case, either of these statements should do it:
global.page_var = null;
// or
delete global.page_var;
(Assuming you don't have other variables or closures with their own references to the same data structure.)