large matrices

In a mel script I'm doing, I require a huge global matrix - sommit like :

global matrix $Some_Matrix[100][100];

My question is - The matrix obviously takes up a large amount of memory, is there any way to delete it after the script has finished processing? or is it going to float around until Maya quits?

I know you can use clear with arrays, but is there any similar proc for matrices?

Alternatively - is there any way to dynamically allocate memory for a matrix?

Is it possible to have the matrix be local to a procedure instead of global? If so, it will clean itself up when the procedure is done running.

--JeffD

It has to exist for the duration of the script, but the script runs an app, around which the core data is this matrix. I can't see any way of making it local, but at the same time getting rid of it would be nice.