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

Home » Public Forums » archive » Re: Minor IDL code changes cause large slowdowns elsewhere in code
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: Minor IDL code changes cause large slowdowns elsewhere in code [message #56295] Thu, 11 October 2007 14:52 Go to previous message
cedric is currently offline  cedric
Messages: 3
Registered: October 2007
Junior Member
On Oct 10, 12:05 pm, "R.G. Stockwell" <noem...@please.com> wrote:
> "cedric" <ced...@barrodale.com> wrote in message
>
> news:1192042534.817071.151580@19g2000hsx.googlegroups.com...
>
>> I have observed a problem in an IDL timber supply model that arose
>> after having made some changes to use tables instead of computations
>> in order to free up some memory space and to circumvent some involved
>> computations.
>
> offhand I would say that it is a memory problem. If you are causing any
> swapping to disk, that is a killer. Could be due to fragmentation - try
> allocating
> huge blocks of memory at the start, thay may help.
>
> Also, are you sure you did not introduce a memory leak with the
> modifications?
>
> Cheers,
> bob
Thanks for your response, Bob. I have tried pre-allocating large
memory, and even rebooting, pre-allocating, and running with no other
user processors. No improvement, unfortunately.
As for a memory leak, I could be wrong but I don't see how adding a
data structure consisting of a few tables (30 x 50,000 - no pointers)
could be a source of a memory leak. Also, looking at task manager, the
memory seems to hold about constant after the first initial load (800
MB). Of course, I can't really be sure here. Any suggestions about how
to detect a memory leak in an IDL process?
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Delaunay triangulation search
Next Topic: Re: Conversion floating point to byte or integer

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

Current Time: Wed Oct 08 18:26:39 PDT 2025

Total time taken to generate the page: 0.00595 seconds