RE: 2.4 weirdness -- first report

new topic     » goto parent     » topic index » view thread      » older message » newer message

Robert Craig wrote:
> Andy Serpa writes:
> > I just verified that again to make sure I 
> > wasn't crazy -- still takes 30
> > seconds to exit function.  Now I'm really confused...
> 
> There's not much I can do without seeing your code.
> I can imagine that if you have millions of floating-point numbers,
> you might get into a situation where it would take a long time
> to free them. It's also remotely possible that the crash you
> occasionally see might be related to the 30 seconds problem.
> i.e. the bug is manifesting itself in two different ways.
> There are things I can do to address this problem, for instance
> I keep a cache of recently-free blocks to avoid calling HeapAlloc
> (or malloc) so often. That could be tuned if I had some statistics
> on what your program is doing.
> 

I've semi-isolated the situation that causes this -- it only occurs (the 
huge delay) when the function in question calls a certain 2nd function.  
Funny thing is that 2nd function also just returns NIL, so it seems that 
the cleanup would occur at that point instead of when the 1st function 
exits, but I will try to come with with a short program that reproduces 
the behavior.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu