allocating a big array
I am trying to allocate some large arrays to store data,
double  x;
x = new double ;
compiled ok, but it gives me a runtime error:
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
any idea how to allocate arrays with millions of rows?
thanks a lot in advance