Thanks very much. This is useful. P
On Tuesday, January 6, 2015 1:50:11 AM UTC-8, Milan Bouchet-Valat wrote: > > Le lundi 05 janvier 2015 à 20:48 -0800, Petr Krysl a écrit : > > Hi guys, > > > > How does one figure out where allocation of memory occurs? When I > > use the @time macro it tells me there's a lot of memory allocation > > and deallocation going on. Just looking at the code I'm at a loss: I > > can't see the reasons for it there. > > > > So, what are the tips and tricks for the curious? How do I debug the > > memory allocation issue? I looked at the lint, the type check, and > > the code_typed(). Perhaps I don't know where to look, but these > > didn't seem to be of much help. > See this: > > http://docs.julialang.org/en/latest/manual/profile/#memory-allocation-analysis > > > (Would probably be good to backport to the 0.3 manual...) > > > Regards > >
