How can i manually unload the jQuery library so that the used memory is freed again?
The actual problem is that I’m loading jquery in an iframe which, after changing the source, keeps jquery in memory and does not free it again. (see increasing memory usage with jquery for more background information)
I don’t think it’s possible to explicitly free up the memory used by jQuery, but one thing you can try would be:
EDIT: (per Matt’s comment):
Even better: