GTInspector intances are never released and the inspected object is also never relased
Hi to all, I'm having a problem using the latest Pharo5 image. I can use it normally, but after a time using it. I see the memory usage has increased. As I'm working with many objects this usage increase very fast, each test is creating them and discarding them. When I started looking where all my memory usage was, I have checked that a lot of instances of GTInspector are not released (around 30 in a normal usage of an hour of programming), also each intance of GTInspector has my tree of objects, so there are never released. I have checked that my objects are not referenced from other places. The only remaining references they have are the inspectors and the visual elements in them. Any has this problem? Do you have any clue or workaround for releasing all this instances? Thanks! -- Pablo Tesone. tesonep@gmail.com
This sounds like a bug. Could you open an issue? Cheers, Doru On Fri, Aug 7, 2015 at 3:00 PM, tesonep@gmail.com <tesonep@gmail.com> wrote:
Hi to all, I'm having a problem using the latest Pharo5 image.
I can use it normally, but after a time using it. I see the memory usage has increased. As I'm working with many objects this usage increase very fast, each test is creating them and discarding them.
When I started looking where all my memory usage was, I have checked that a lot of instances of GTInspector are not released (around 30 in a normal usage of an hour of programming), also each intance of GTInspector has my tree of objects, so there are never released.
I have checked that my objects are not referenced from other places. The only remaining references they have are the inspectors and the visual elements in them.
Any has this problem? Do you have any clue or workaround for releasing all this instances?
Thanks!
-- Pablo Tesone. tesonep@gmail.com
-- www.tudorgirba.com "Every thing has its own flow"
may be related to te memory leak esteban is chasing around rubric Le 7/8/15 15:00, tesonep@gmail.com a écrit :
Hi to all, I'm having a problem using the latest Pharo5 image.
I can use it normally, but after a time using it. I see the memory usage has increased. As I'm working with many objects this usage increase very fast, each test is creating them and discarding them.
When I started looking where all my memory usage was, I have checked that a lot of instances of GTInspector are not released (around 30 in a normal usage of an hour of programming), also each intance of GTInspector has my tree of objects, so there are never released.
I have checked that my objects are not referenced from other places. The only remaining references they have are the inspectors and the visual elements in them.
Any has this problem? Do you have any clue or workaround for releasing all this instances?
Thanks!
-- Pablo Tesone. tesonep@gmail.com <mailto:tesonep@gmail.com>
In a copy of the image can you try to do an image cleanup (System -> Do image cleanup) and see if those instances still persists afterwards. Also do you have any zombie processes? If yes can you see if killing them releases the inspector instances. Cheers, Andrei On Fri, Aug 7, 2015 at 3:00 PM, tesonep@gmail.com <tesonep@gmail.com> wrote:
Hi to all, I'm having a problem using the latest Pharo5 image.
I can use it normally, but after a time using it. I see the memory usage has increased. As I'm working with many objects this usage increase very fast, each test is creating them and discarding them.
When I started looking where all my memory usage was, I have checked that a lot of instances of GTInspector are not released (around 30 in a normal usage of an hour of programming), also each intance of GTInspector has my tree of objects, so there are never released.
I have checked that my objects are not referenced from other places. The only remaining references they have are the inspectors and the visual elements in them.
Any has this problem? Do you have any clue or workaround for releasing all this instances?
Thanks!
-- Pablo Tesone. tesonep@gmail.com
participants (4)
-
Andrei Chis -
stepharo -
tesonep@gmail.com -
Tudor Girba