Re: heap memory and long duration application type
- Posted by mattlewis (admin) Feb 25, 2011
- 1341 views
PtitChaud said...
Hello,
this post follows the first free seems not work.
I've run the code below to do 4 tests, with Eu40 on Vista.
For comparison, I changed the program to use the normal euphoria allocate and free, and ran it on Linux with massif, a heap profiler. Here's the graph I got (I changed it to just run for 10 cycles):
MB 305.9^ # | # : : : @ | # @ : :: : : : @ | # @ : : : : : : @ | # @ : : : : : : @ :: | # @ : : : ::: : : :@ :: | # @ :: : : : : :: : :@ :: | ::# @ :: :: ::: : : :: ::: :@ :: | : # ::@ :: :: : : : : :: : : :@ ::: | : # : @ :: :: : : :: : :: : : :@ ::: | : # : @ :: :: : : :: : :::: : : :::@ ::: | : # : @ ::: :: : ::: :: : : :: :: : : :@ ::: | : # : @ ::: ::: :: :: :: : : :: :: : : :@ ::: | : # : @ ::: ::: : :: :: :: : : :: :: : : :@ :::: | ::: # :: @ ::: ::: : :: :: @:: : : :: :: : :: :@ :::: | : : # :: @ ::: ::: : :: :: @:: : :: :: :: : :: :@ :::: | : : # :: @ ::::: ::: : :: :: @:: : :: :: ::: : :: :@ :::: | : : # :: @ :::::: @::: :@:: :: @:: : :: :: ::: : :: :@ :::: | : : # :: @:: :::: @::: :@:: :: @:: : :: :: ::: : :: :@ :::: | : : #:::: @:: :::: @::: :@:: :: @:: :::: :: ::: :::: :@ ::::@ 0 +----------------------------------------------------------------------->Gi 0 2.737The X-axis is the number of instructions executed.
Matt