removed MooseModel always in memory

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

removed MooseModel always in memory

Laval Jannik-2
Hi all,

I play with Moose in Pharo1.2. It seems that a removed model is always in memory.
I explain:
- I loaded Pharo in moose, my image grows and its size is 320Mo.
- I removed the model, then my image size should be 100Mo, but it is still 320Mo.

Can anyone reproduce it ?
How can I debug it ? Is there a pointerFinder in Pharo ?

Cheers,
---
Jannik Laval


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: removed MooseModel always in memory

Mariano Martinez Peck


On Tue, Jul 13, 2010 at 10:29 AM, Laval Jannik <[hidden email]> wrote:
Hi all,

I play with Moose in Pharo1.2. It seems that a removed model is always in memory.
I explain:
- I loaded Pharo in moose, my image grows and its size is 320Mo.
- I removed the model, then my image size should be 100Mo, but it is still 320Mo.

Can anyone reproduce it ?
How can I debug it ? Is there a pointerFinder in Pharo ?

Yes.  See my answer in this thread: http://forum.world.st/kill-9-MyClass-allInstances-td2274682.html#a2274682

cheers

mariano
 

Cheers,
---
Jannik Laval


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: removed MooseModel always in memory

Tudor Girba
Hi Jannik,

I am working on 1.1, and here things work well.

Here are some questions:
- What does MooseModel allInstances say?
- Did you close the Moose Panel? This can still store a reference to  
the model.
- Did you force a garbage collect?

Cheers,
Doru

On 13 Jul 2010, at 10:37, Mariano Martinez Peck wrote:

>
>
> On Tue, Jul 13, 2010 at 10:29 AM, Laval Jannik  
> <[hidden email]> wrote:
> Hi all,
>
> I play with Moose in Pharo1.2. It seems that a removed model is  
> always in memory.
> I explain:
> - I loaded Pharo in moose, my image grows and its size is 320Mo.
> - I removed the model, then my image size should be 100Mo, but it is  
> still 320Mo.
>
> Can anyone reproduce it ?
> How can I debug it ? Is there a pointerFinder in Pharo ?
>
> Yes.  See my answer in this thread: http://forum.world.st/kill-9-MyClass-allInstances-td2274682.html#a2274682
>
> cheers
>
> mariano
>
>
> Cheers,
> ---
> Jannik Laval
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
www.tudorgirba.com

"Some battles are better lost than fought."



_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: removed MooseModel always in memory

Stéphane Ducasse
In reply to this post by Laval Jannik-2
PointerExplorer

Stef

On Jul 13, 2010, at 10:29 AM, Laval Jannik wrote:

> Hi all,
>
> I play with Moose in Pharo1.2. It seems that a removed model is always in memory.
> I explain:
> - I loaded Pharo in moose, my image grows and its size is 320Mo.
> - I removed the model, then my image size should be 100Mo, but it is still 320Mo.
>
> Can anyone reproduce it ?
> How can I debug it ? Is there a pointerFinder in Pharo ?
>
> Cheers,
> ---
> Jannik Laval
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: removed MooseModel always in memory

jannik laval
In reply to this post by Tudor Girba

On Jul 13, 2010, at 15:35 , Tudor Girba wrote:

> Hi Jannik,
>
> I am working on 1.1, and here things work well.
>
> Here are some questions:
> - What does MooseModel allInstances say?
result:
 an Array(a MooseModel #Root(0) a MooseModel #PharoPackagesInCycle(654484))

> - Did you close the Moose Panel? This can still store a reference to the model.

yes, I closed it

> - Did you force a garbage collect?

yes, I do that.

So the instance exist anymore, I do not know why.
I will check.


Cheers,
Jannik

>
> Cheers,
> Doru
>
> On 13 Jul 2010, at 10:37, Mariano Martinez Peck wrote:
>
>>
>>
>> On Tue, Jul 13, 2010 at 10:29 AM, Laval Jannik <[hidden email]> wrote:
>> Hi all,
>>
>> I play with Moose in Pharo1.2. It seems that a removed model is always in memory.
>> I explain:
>> - I loaded Pharo in moose, my image grows and its size is 320Mo.
>> - I removed the model, then my image size should be 100Mo, but it is still 320Mo.
>>
>> Can anyone reproduce it ?
>> How can I debug it ? Is there a pointerFinder in Pharo ?
>>
>> Yes.  See my answer in this thread: http://forum.world.st/kill-9-MyClass-allInstances-td2274682.html#a2274682
>>
>> cheers
>>
>> mariano
>>
>>
>> Cheers,
>> ---
>> Jannik Laval
>>
>>
>> _______________________________________________
>> Moose-dev mailing list
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>
>> _______________________________________________
>> Moose-dev mailing list
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> --
> www.tudorgirba.com
>
> "Some battles are better lost than fought."
>
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

---
Jannik Laval


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev