[Pharo-project] Image size
Hi, I have one of my development pharo image with 103 MB of size. Is there an normal image size on Pharo? I clean my system orphan instances and WARegistry clearAllHandlers but it continue with that size. There is on Pharo any tool like to Space Breakdown Chris Upal Dolphin Package (http://metagnostic.dolphinmap.net/SpaceBreakdown.html)? Thanks you, Facundo
Hi Facundo, Which Pharo version are you using? Try, ScriptLoader new cleanUpForRelease. I'm working with Seaside, Magma, XML, WebClient, VMMaker, OB, Glamour, Mondrian, etc. plus my own projects and image size is 30Mb Cheers, 2010/11/16 Facundo Vozzi <facundov79@gmail.com>:
Hi, I have one of my development pharo image with 103 MB of size. Is there an normal image size on Pharo? I clean my system orphan instances and WARegistry clearAllHandlers but it continue with that size. There is on Pharo any tool like to Space Breakdown Chris Upal Dolphin Package (http://metagnostic.dolphinmap.net/SpaceBreakdown.html)? Thanks you, Facundo
-- Hernán Morales Information Technology Manager, Institute of Veterinary Genetics. National Scientific and Technical Research Council (CONICET). La Plata (1900), Buenos Aires, Argentina. Telephone: +54 (0221) 421-1799. Internal: 422 Fax: 425-7980 or 421-1799.
Hi Hernan, I did ScriptLoader new cleanUpForRelease on my fat image and It's 31 MB again. There is black magic in cleanUpForRelease :-P. Thanks, Facu On Tue, Nov 16, 2010 at 1:47 AM, Hernán Morales Durand < hernan.morales@gmail.com> wrote:
Hi Facundo,
Which Pharo version are you using?
Try,
ScriptLoader new cleanUpForRelease.
I'm working with Seaside, Magma, XML, WebClient, VMMaker, OB, Glamour, Mondrian, etc. plus my own projects and image size is 30Mb Cheers,
2010/11/16 Facundo Vozzi <facundov79@gmail.com>:
Hi, I have one of my development pharo image with 103 MB of size. Is there an normal image size on Pharo? I clean my system orphan instances and WARegistry clearAllHandlers but it continue with that size. There is on Pharo any tool like to Space Breakdown Chris Upal Dolphin Package (http://metagnostic.dolphinmap.net/SpaceBreakdown.html)? Thanks you, Facundo
-- Hernán Morales Information Technology Manager, Institute of Veterinary Genetics. National Scientific and Technical Research Council (CONICET). La Plata (1900), Buenos Aires, Argentina. Telephone: +54 (0221) 421-1799. Internal: 422 Fax: 425-7980 or 421-1799.
On Tue, Nov 16, 2010 at 8:49 AM, Facundo Vozzi <facundov79@gmail.com> wrote:
Hi Hernan, I did ScriptLoader new cleanUpForRelease on my fat image and It's 31 MB again. There is black magic in cleanUpForRelease :-P.
Yes check it's implementation. I think the biggest black magic is the MC history. BTW, maybe we should add Transcript log to show each statement the amount of memory that is released? or something like that.... cheers mariano
Thanks, Facu
On Tue, Nov 16, 2010 at 1:47 AM, Hernán Morales Durand < hernan.morales@gmail.com> wrote:
Hi Facundo,
Which Pharo version are you using?
Try,
ScriptLoader new cleanUpForRelease.
I'm working with Seaside, Magma, XML, WebClient, VMMaker, OB, Glamour, Mondrian, etc. plus my own projects and image size is 30Mb Cheers,
2010/11/16 Facundo Vozzi <facundov79@gmail.com>:
Hi, I have one of my development pharo image with 103 MB of size. Is there an normal image size on Pharo? I clean my system orphan instances and WARegistry clearAllHandlers but it continue with that size. There is on Pharo any tool like to Space Breakdown Chris Upal Dolphin Package (http://metagnostic.dolphinmap.net/SpaceBreakdown.html)? Thanks you, Facundo
-- Hernán Morales Information Technology Manager, Institute of Veterinary Genetics. National Scientific and Technical Research Council (CONICET). La Plata (1900), Buenos Aires, Argentina. Telephone: +54 (0221) 421-1799. Internal: 422 Fax: 425-7980 or 421-1799.
How difficult can it be to have a "memory browser" o something like it, to tell us the state of our image and do nicely the script loader cleaning stuff? I have no time now... but it would be nice. On Tue, Nov 16, 2010 at 2:10 PM, Mariano Martinez Peck < marianopeck@gmail.com> wrote:
On Tue, Nov 16, 2010 at 8:49 AM, Facundo Vozzi <facundov79@gmail.com>wrote:
Hi Hernan, I did ScriptLoader new cleanUpForRelease on my fat image and It's 31 MB again. There is black magic in cleanUpForRelease :-P.
Yes check it's implementation. I think the biggest black magic is the MC history. BTW, maybe we should add Transcript log to show each statement the amount of memory that is released? or something like that....
cheers
mariano
Thanks, Facu
On Tue, Nov 16, 2010 at 1:47 AM, Hernán Morales Durand < hernan.morales@gmail.com> wrote:
Hi Facundo,
Which Pharo version are you using?
Try,
ScriptLoader new cleanUpForRelease.
I'm working with Seaside, Magma, XML, WebClient, VMMaker, OB, Glamour, Mondrian, etc. plus my own projects and image size is 30Mb Cheers,
2010/11/16 Facundo Vozzi <facundov79@gmail.com>:
Hi, I have one of my development pharo image with 103 MB of size. Is there an normal image size on Pharo? I clean my system orphan instances and WARegistry clearAllHandlers but it continue with that size. There is on Pharo any tool like to Space Breakdown Chris Upal Dolphin Package (http://metagnostic.dolphinmap.net/SpaceBreakdown.html)? Thanks you, Facundo
-- Hernán Morales Information Technology Manager, Institute of Veterinary Genetics. National Scientific and Technical Research Council (CONICET). La Plata (1900), Buenos Aires, Argentina. Telephone: +54 (0221) 421-1799. Internal: 422 Fax: 425-7980 or 421-1799.
SpaceTally? On Tue, Nov 16, 2010 at 12:43 PM, Guillermo Polito <guillermopolito@gmail.com> wrote:
How difficult can it be to have a "memory browser" o something like it, to tell us the state of our image and do nicely the script loader cleaning stuff?
I have no time now... but it would be nice.
On Tue, Nov 16, 2010 at 2:10 PM, Mariano Martinez Peck <marianopeck@gmail.com> wrote:
On Tue, Nov 16, 2010 at 8:49 AM, Facundo Vozzi <facundov79@gmail.com> wrote:
Hi Hernan, I did ScriptLoader new cleanUpForRelease on my fat image and It's 31 MB again. There is black magic in cleanUpForRelease :-P.
Yes check it's implementation. I think the biggest black magic is the MC history. BTW, maybe we should add Transcript log to show each statement the amount of memory that is released? or something like that....
cheers
mariano
Thanks, Facu
On Tue, Nov 16, 2010 at 1:47 AM, Hernán Morales Durand <hernan.morales@gmail.com> wrote:
Hi Facundo,
Which Pharo version are you using?
Try,
ScriptLoader new cleanUpForRelease.
I'm working with Seaside, Magma, XML, WebClient, VMMaker, OB, Glamour, Mondrian, etc. plus my own projects and image size is 30Mb Cheers,
2010/11/16 Facundo Vozzi <facundov79@gmail.com>:
Hi, I have one of my development pharo image with 103 MB of size. Is there an normal image size on Pharo? I clean my system orphan instances and WARegistry clearAllHandlers but it continue with that size. There is on Pharo any tool like to Space Breakdown Chris Upal Dolphin Package (http://metagnostic.dolphinmap.net/SpaceBreakdown.html)? Thanks you, Facundo
-- Hernán Morales Information Technology Manager, Institute of Veterinary Genetics. National Scientific and Technical Research Council (CONICET). La Plata (1900), Buenos Aires, Argentina. Telephone: +54 (0221) 421-1799. Internal: 422 Fax: 425-7980 or 421-1799.
Does it have a GUI? I want to browse it... SpaceTally is hidden for users who doesn't know it... On Tue, Nov 16, 2010 at 4:02 PM, Chris Muller <asqueaker@gmail.com> wrote:
SpaceTally?
On Tue, Nov 16, 2010 at 12:43 PM, Guillermo Polito <guillermopolito@gmail.com> wrote:
How difficult can it be to have a "memory browser" o something like it, to tell us the state of our image and do nicely the script loader cleaning stuff?
I have no time now... but it would be nice.
On Tue, Nov 16, 2010 at 2:10 PM, Mariano Martinez Peck <marianopeck@gmail.com> wrote:
On Tue, Nov 16, 2010 at 8:49 AM, Facundo Vozzi <facundov79@gmail.com> wrote:
Hi Hernan, I did ScriptLoader new cleanUpForRelease on my fat image and It's 31 MB again. There is black magic in cleanUpForRelease :-P.
Yes check it's implementation. I think the biggest black magic is the MC history. BTW, maybe we should add Transcript log to show each statement the
amount
of memory that is released? or something like that....
cheers
mariano
Thanks, Facu
On Tue, Nov 16, 2010 at 1:47 AM, Hernán Morales Durand <hernan.morales@gmail.com> wrote:
Hi Facundo,
Which Pharo version are you using?
Try,
ScriptLoader new cleanUpForRelease.
I'm working with Seaside, Magma, XML, WebClient, VMMaker, OB, Glamour, Mondrian, etc. plus my own projects and image size is 30Mb Cheers,
2010/11/16 Facundo Vozzi <facundov79@gmail.com>:
Hi, I have one of my development pharo image with 103 MB of size. Is
there
an normal image size on Pharo? I clean my system orphan instances and WARegistry clearAllHandlers but it continue with that size. There is on Pharo any tool like to Space Breakdown Chris Upal Dolphin Package (http://metagnostic.dolphinmap.net/SpaceBreakdown.html)? Thanks you, Facundo
-- Hernán Morales Information Technology Manager, Institute of Veterinary Genetics. National Scientific and Technical Research Council (CONICET). La Plata (1900), Buenos Aires, Argentina. Telephone: +54 (0221) 421-1799. Internal: 422 Fax: 425-7980 or 421-1799.
It's not entirely what you are looking for, but back in May Alexandre Bergel made a nice small tool: http://www.squeaksource.com/MemoryMonitor For 1.2, labels need to be updated to use printUsingDecimalPlaces: rather than rounding the float then asking for printString, and its icon needs to be relocated from being a MenuIcons extension. Speaking of MenuIcons, would it be a good idea to keep the Icons class var as an empty Dictionary? It saves some (at least this :) ) tools from breaking, but perhaps now is the best time to do so anyways, as the "proper" change is somewhat obvious with all the methods containing comments of their deprecation? As for cleanUpForRelease, most of its code should be moved to the new cleanUp: protocol of the classes they affect, most of which (afaict) should be done even when called non-agressively. At which point you should be able to doit Smalltalk cleanUp and get almost the same results. Cheers, Henry On Nov 16, 2010, at 8:23 53PM, Guillermo Polito wrote:
Does it have a GUI? I want to browse it... SpaceTally is hidden for users who doesn't know it...
On Tue, Nov 16, 2010 at 4:02 PM, Chris Muller <asqueaker@gmail.com> wrote: SpaceTally?
On Tue, Nov 16, 2010 at 12:43 PM, Guillermo Polito <guillermopolito@gmail.com> wrote:
How difficult can it be to have a "memory browser" o something like it, to tell us the state of our image and do nicely the script loader cleaning stuff?
I have no time now... but it would be nice.
On Tue, Nov 16, 2010 at 2:10 PM, Mariano Martinez Peck <marianopeck@gmail.com> wrote:
On Tue, Nov 16, 2010 at 8:49 AM, Facundo Vozzi <facundov79@gmail.com> wrote:
Hi Hernan, I did ScriptLoader new cleanUpForRelease on my fat image and It's 31 MB again. There is black magic in cleanUpForRelease :-P.
Yes check it's implementation. I think the biggest black magic is the MC history. BTW, maybe we should add Transcript log to show each statement the amount of memory that is released? or something like that....
cheers
mariano
Thanks, Facu
On Tue, Nov 16, 2010 at 1:47 AM, Hernán Morales Durand <hernan.morales@gmail.com> wrote:
Hi Facundo,
Which Pharo version are you using?
Try,
ScriptLoader new cleanUpForRelease.
I'm working with Seaside, Magma, XML, WebClient, VMMaker, OB, Glamour, Mondrian, etc. plus my own projects and image size is 30Mb Cheers,
2010/11/16 Facundo Vozzi <facundov79@gmail.com>:
Hi, I have one of my development pharo image with 103 MB of size. Is there an normal image size on Pharo? I clean my system orphan instances and WARegistry clearAllHandlers but it continue with that size. There is on Pharo any tool like to Space Breakdown Chris Upal Dolphin Package (http://metagnostic.dolphinmap.net/SpaceBreakdown.html)? Thanks you, Facundo
-- Hernán Morales Information Technology Manager, Institute of Veterinary Genetics. National Scientific and Technical Research Council (CONICET). La Plata (1900), Buenos Aires, Argentina. Telephone: +54 (0221) 421-1799. Internal: 422 Fax: 425-7980 or 421-1799.
As for cleanUpForRelease, most of its code should be moved to the new cleanUp: protocol of the classes they affect, most of which (afaict) should be done even when called non-agressively. At which point you should be able to doit Smalltalk cleanUp and get almost the same results.
Exactly. I even remember creating an issue for this. I am offline now to search....but it is there, not so difficult...so if someone wants to do it, it would be VERY useful. Cheers Mariano
Cheers, Henry
On Nov 16, 2010, at 8:23 53PM, Guillermo Polito wrote:
Does it have a GUI? I want to browse it... SpaceTally is hidden for users who doesn't know it...
On Tue, Nov 16, 2010 at 4:02 PM, Chris Muller <asqueaker@gmail.com> wrote: SpaceTally?
On Tue, Nov 16, 2010 at 12:43 PM, Guillermo Polito <guillermopolito@gmail.com> wrote:
How difficult can it be to have a "memory browser" o something like it, to tell us the state of our image and do nicely the script loader cleaning stuff?
I have no time now... but it would be nice.
On Tue, Nov 16, 2010 at 2:10 PM, Mariano Martinez Peck <marianopeck@gmail.com> wrote:
On Tue, Nov 16, 2010 at 8:49 AM, Facundo Vozzi <facundov79@gmail.com> wrote:
Hi Hernan, I did ScriptLoader new cleanUpForRelease on my fat image and It's 31 MB again. There is black magic in cleanUpForRelease :-P.
Yes check it's implementation. I think the biggest black magic is the MC history. BTW, maybe we should add Transcript log to show each statement the amount of memory that is released? or something like that....
cheers
mariano
Thanks, Facu
On Tue, Nov 16, 2010 at 1:47 AM, Hernán Morales Durand <hernan.morales@gmail.com> wrote:
Hi Facundo,
Which Pharo version are you using?
Try,
ScriptLoader new cleanUpForRelease.
I'm working with Seaside, Magma, XML, WebClient, VMMaker, OB, Glamour, Mondrian, etc. plus my own projects and image size is 30Mb Cheers,
2010/11/16 Facundo Vozzi <facundov79@gmail.com>:
Hi, I have one of my development pharo image with 103 MB of size. Is there an normal image size on Pharo? I clean my system orphan instances and WARegistry clearAllHandlers but it continue with that size. There is on Pharo any tool like to Space Breakdown Chris Upal Dolphin Package (http://metagnostic.dolphinmap.net/SpaceBreakdown.html)? Thanks you, Facundo
-- Hernán Morales Information Technology Manager, Institute of Veterinary Genetics. National Scientific and Technical Research Council (CONICET). La Plata (1900), Buenos Aires, Argentina. Telephone: +54 (0221) 421-1799. Internal: 422 Fax: 425-7980 or 421-1799.
Hi, I did ScriptLoader new cleanUpForRealese on my pharo1.1.1 image and I get an index out of bounds error. Doing a debug, I found the source: a 0-length method category name on MCVersion class. So, I move all methods in that category to another and it just works (except for my image size that go from 95MB to 87MB :-). Cheers On Nov 16, 2010, at 14:10 , Mariano Martinez Peck wrote:
On Tue, Nov 16, 2010 at 8:49 AM, Facundo Vozzi <facundov79@gmail.com> wrote: Hi Hernan, I did ScriptLoader new cleanUpForRelease on my fat image and It's 31 MB again. There is black magic in cleanUpForRelease :-P.
Yes check it's implementation. I think the biggest black magic is the MC history. BTW, maybe we should add Transcript log to show each statement the amount of memory that is released? or something like that....
cheers
mariano
Thanks, Facu
On Tue, Nov 16, 2010 at 1:47 AM, Hernán Morales Durand <hernan.morales@gmail.com> wrote: Hi Facundo,
Which Pharo version are you using?
Try,
ScriptLoader new cleanUpForRelease.
I'm working with Seaside, Magma, XML, WebClient, VMMaker, OB, Glamour, Mondrian, etc. plus my own projects and image size is 30Mb Cheers,
2010/11/16 Facundo Vozzi <facundov79@gmail.com>:
Hi, I have one of my development pharo image with 103 MB of size. Is there an normal image size on Pharo? I clean my system orphan instances and WARegistry clearAllHandlers but it continue with that size. There is on Pharo any tool like to Space Breakdown Chris Upal Dolphin Package (http://metagnostic.dolphinmap.net/SpaceBreakdown.html)? Thanks you, Facundo
-- Hernán Morales Information Technology Manager, Institute of Veterinary Genetics. National Scientific and Technical Research Council (CONICET). La Plata (1900), Buenos Aires, Argentina. Telephone: +54 (0221) 421-1799. Internal: 422 Fax: 425-7980 or 421-1799.
On Nov 16, 2010, at 11:59 PM, Oscar E A Callau wrote:
Hi,
I did ScriptLoader new cleanUpForRealese on my pharo1.1.1 image and I get an index out of bounds error. Doing a debug, I found the source: a 0-length method category name on MCVersion class.
Is this methods are from Pharo, and not yours, and if the issue is even reproducable, please open an issue. Cheers mariano
So, I move all methods in that category to another and it just works (except for my image size that go from 95MB to 87MB :-).
Cheers
On Nov 16, 2010, at 14:10 , Mariano Martinez Peck wrote:
On Tue, Nov 16, 2010 at 8:49 AM, Facundo Vozzi <facundov79@gmail.com> wrote: Hi Hernan, I did ScriptLoader new cleanUpForRelease on my fat image and It's 31 MB again. There is black magic in cleanUpForRelease :-P.
Yes check it's implementation. I think the biggest black magic is the MC history. BTW, maybe we should add Transcript log to show each statement the amount of memory that is released? or something like that....
cheers
mariano
Thanks, Facu
On Tue, Nov 16, 2010 at 1:47 AM, Hernán Morales Durand <hernan.morales@gmail.com> wrote: Hi Facundo,
Which Pharo version are you using?
Try,
ScriptLoader new cleanUpForRelease.
I'm working with Seaside, Magma, XML, WebClient, VMMaker, OB, Glamour, Mondrian, etc. plus my own projects and image size is 30Mb Cheers,
2010/11/16 Facundo Vozzi <facundov79@gmail.com>:
Hi, I have one of my development pharo image with 103 MB of size. Is there an normal image size on Pharo? I clean my system orphan instances and WARegistry clearAllHandlers but it continue with that size. There is on Pharo any tool like to Space Breakdown Chris Upal Dolphin Package (http://metagnostic.dolphinmap.net/SpaceBreakdown.html)? Thanks you, Facundo
-- Hernán Morales Information Technology Manager, Institute of Veterinary Genetics. National Scientific and Technical Research Council (CONICET). La Plata (1900), Buenos Aires, Argentina. Telephone: +54 (0221) 421-1799. Internal: 422 Fax: 425-7980 or 421-1799.
participants (7)
-
Chris Muller -
Facundo Vozzi -
Guillermo Polito -
Henrik Johansen -
Hernán Morales Durand -
Mariano Martinez Peck -
Oscar E A Callau