comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Unable to allocate memory
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Unable to allocate memory [message #85804] Tue, 10 September 2013 12:57
sivan is currently offline  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.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Axis labeling trickery
Next Topic: Unable to allocate memory

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 13:39:03 PDT 2025

Total time taken to generate the page: 0.00517 seconds