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

Home » Public Forums » archive » Re: 2D density plot *** hist_2d *** LARGE ARRAYS
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: 2D density plot *** hist_2d *** LARGE ARRAYS [message #47170] Thu, 26 January 2006 14:38 Go to previous message
maldayeh is currently offline  maldayeh
Messages: 13
Registered: January 2006
Junior Member
Hi Paolo,
Not really, just found a way around this morning!
I Just scanned the arrays little by little, and returned
coincidences(overlapping indices of elements confined in a certain
small area) into a much-smaller array (100*100 worked fine).
1 GB of RAM. Finished job in 5-7 seconds
Maher.


Paolo Grigis wrote:
> Well, it looks like you are trying to allocate
> an array with 1 million times 1 million of elements,
> if you do the math, you'll probably discover that
> this array cannot possibly fit into your memory...
>
> (unless, of course, you have a couple of terabytes
> of RAM available, in this case you are probably a
> microsoft employee developing the next generation
> of windows ;-)
>
> Paolo
>
> maldayeh@gmail.com wrote:
>> Hi All,
>> I need to get the density plot of two arrays,
>> days:[1 to 15 in very small increments] such that n_elements(days) =
>> 1000000
>> and intensity:[0 to 1 with very small differences] such that
>> n_elements(intensity) = 1000000
>>
>> I tried different ways and always got this error whenever I try to
>> create a 2D vector: unable to allocate memory.
>> Any help is greatly appreciated.
>> Thanks a lot
>> MD
>>
[Message index]
 
Read Message
Read Message
Previous Topic: Swap memory utilization by IDL
Next Topic: IDL Quiz and Essay Contest

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

Current Time: Wed Oct 08 16:07:06 PDT 2025

Total time taken to generate the page: 0.00437 seconds