Monitor memory usage and/or atom creation
Kevin Glynn
glynn at info.ucl.ac.be
Tue Jan 4 14:26:19 CET 2005
Hi Grzegorz,
Have you tried using the profiler:
http://www.mozart-oz.org/documentation/profiler/index.html
This may not be possible beacuse you lose some tail-recursion.
However, by trial and error you may be able to narrow it down
by profiling just part of your application.
cheers
k
Grzegorz ChrupaÅa writes:
> Hi all,
>
> I have the following problem: I have progam which runs fine for over
> twenty hours, slowly processing a corpus, but at some point it starts
> using huge amounts of memory and has to be killed.
> I've had issues before with atoms being created by a library when I
> didn't expect it, so I suspect it might be one of such cases. Is there
> a way to inspect what atoms are created in a program, to check this
> possiblity?
> Other than that, how would you recommend I go about chasing down the
> memory leak? Is there some way of tracking memory usage to a specific
> section of code?
> Cheers,
>
> --
> Grzegorz ChrupaÅa
>
> _________________________________________________________________________________
> mozart-users mailing list mozart-users at ps.uni-sb.de
> http://www.mozart-oz.org/mailman/listinfo/mozart-users
>
More information about the mozart-users
mailing list