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

Home » Public Forums » archive » Short array memory allocation
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Short array memory allocation [message #61225] Thu, 10 July 2008 13:44 Go to previous message
ray.laymon064 is currently offline  ray.laymon064
Messages: 8
Registered: July 2008
Junior Member
Hi Everyone,

I searched the posted messages but couldn't find the answer I am
looking for. Sorry if I repeat the same question.

I am dealing with some data in "grib" format. I perform a simple
operation on each file (open/extract single pixel). The array size of
each file is small (450*250), and I don't store any of the variables
at each loop (overwrite so no memory allocation is needed). However,
there are lots of files (~600,000).

I have a 2.5 Ghz dual-core 4GB memory laptop. When I run my script it,
the task manager tells me IDL uses ~ 12% CPU & ~32MB memory (total PC
CPU usage is ~ 16% and total PC memory usage is ~ 450MB)...And the
whole script takes ~1,5 hours.

I know, there are lots of small files, and naturally it takes time but
is there a way I can speed up the processing time?
Thanks,

Ray
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Can i avoid the loop,help me speed up,thanks
Next Topic: neural networks

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

Current Time: Wed Oct 08 18:04:28 PDT 2025

Total time taken to generate the page: 0.00231 seconds