how to free texture memory?

i’ve just been around some NeHe’s tuts and in no one of them i saw freeing OpenGL texture memory, so it must be done when closing OpenGL context, but what to do if i want to load 1000 textures one by one (don’t need more than one at the same time)?? - my video card memory is not sufficient to shelter 1000256256*32 bits…

how do i delete[] my OpenGL textures?

thank you guys

Textures are deleted with glDeleteTexture.