Unable to allocate memory [message #85804] |
Tue, 10 September 2013 12:57 |
sivan
Messages: 13 Registered: August 2012
|
Junior Member |
|
|
Hi all,
I know there are plenty of topics corresponding to this problem but I did not find a clear answer.
I wrote:
IDL> logage=dblarr(1259200)
IDL> number=91
IDL> ologlum=9.0d*(findgen(number))/(number-1)-3
IDL> loglm=dblarr(1259200)
IDL> likelihood=dblarr(1259200)
IDL> g1=transpose(ologlum##replicate(1d,n_elements(logage)))
IDL> g2=loglm#replicate(1d,n_elements(logage))
% Unable to allocate memory: to make array.
Cannot allocate memory
% Execution halted at: $MAIN$
I also tried these:
IDL> g1=transpose(temporary(ologlum)##temporary(replicate(1d,n_el ements(logage))))
IDL> g2=temporary(loglm)#temporary(replicate(1d,n_elements(logage )))
% Unable to allocate memory: to make array.
Cannot allocate memory
% Execution halted at: $MAIN$
It doesn't change anything.
I use Ubuntu 12.04.03 (amd64), 8GB RAM and IDL 7.1.1.
I hope there is a solution to this problem.
Thanks in advice,
Sivan.
|
|
|