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

Home » Public Forums » archive » Re: "unable to allocate memory to make array",How much memory does triangulate need?
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
Re: "unable to allocate memory to make array",How much memory does triangulate need? [message #71342] Mon, 14 June 2010 12:45
natha is currently offline  natha
Messages: 482
Registered: October 2007
Senior Member
1) delete the variables you don't need before calling the routine: if
a is fltarr(400,400), set it to 0.
2) use the temporary function: triangulate, temporary(longitude),
temporary(latitude), triangles
3) buy more RAM

nata
Re: "unable to allocate memory to make array",How much memory does triangulate need? [message #71343 is a reply to message #71342] Mon, 14 June 2010 12:36 Go to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
On Jun 14, 7:08 am, "xueni....@gmail.com" <xueni....@gmail.com> wrote:
> triangulate, longitude, latitude ,triangles
> longitude  float array [2048,2000]
> latitude    float array [2048,2000]
> error:unable to allocate memory to make array
>
> anyone know how to resolve this problem?

Get more memory? Use fewer data points?

Craig
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: "unable to allocate memory to make array",How much memory does triangulate need?
Next Topic: Re: "unable to allocate memory to make array",How much memory does triangulate need?

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

Current Time: Wed Oct 08 19:04:06 PDT 2025

Total time taken to generate the page: 0.00165 seconds