I am a student and am using the JAMA package for calculating the SVD of a given m by n matrix. But the values of m and n , I am using is 300 and 30000 respectively. The SingularValueDecomposition class is giving me an "Out of Memory error". So are there any limitations in the dimensions of the input matrix.
Please kindly help me.
I have just written the following test code:
public class Test
public static void main(String args)
double a = new double;
for(int i=0; i<a.length;++i)
for(int j=0; j<a[i].length;++j)
a[i][j] = (double) Math.random();
m =new Matrix(a);