Hi there,
I work on a 3.0 image with all fixes. I do some "trivial" development work (a banking system), working on about a dozen classes, using the Whisker browser, a workspace and a selector browser.
After a week of work or so my image has grown in size _considerably_. Starting from the original 10 MB I'm now at 23 MB. Am I doing something wrong? I tried to garbageCollect a few times, but this only frees a few KB.
?
Christian Eitner cE: Sub-Omnipotent/SoftwareEngineer
On Tuesday 25 June 2002 09:57 am, se99011@fhs-hagenberg.ac.at wrote:
Hi there,
I work on a 3.0 image with all fixes. I do some "trivial" development work (a banking system), working on about a dozen classes, using the Whisker browser, a workspace and a selector browser.
After a week of work or so my image has grown in size _considerably_. Starting from the original 10 MB I'm now at 23 MB. Am I doing something wrong? I tried to garbageCollect a few times, but this only frees a few KB.
Have you saved it (i.e. if you're looking at the space used by the running image, it will be bigger than the on-disk version).
If you have, perhaps you have a memory leak. Do you have any global (including class side) collections that may be hanging on to things? Have you closed down your Whisker browsers, done a GC, and saved?
Have you imported a lot of images?
Christian Eitner writes:
I work on a 3.0 image with all fixes. I do some "trivial" development work (a banking system), working on about a dozen classes, using the Whisker browser, a workspace and a selector browser.
After a week of work or so my image has grown in size _considerably_. Starting from the original 10 MB I'm now at 23 MB. Am I doing something wrong? I tried to garbageCollect a few times, but this only frees a few
KB.
If you've been creating and deleting a lot of Morphs during your testing, your trash might be full of them.
-- Duane
Duane Maxwell wrote:
Christian Eitner writes:
I work on a 3.0 image with all fixes. I do some "trivial" development work (a banking system), working on about a dozen classes, using the Whisker browser, a workspace and a selector browser.
After a week of work or so my image has grown in size _considerably_. Starting from the original 10 MB I'm now at 23 MB. Am I doing something wrong? I tried to garbageCollect a few times, but this only frees a few
KB.
If you've been creating and deleting a lot of Morphs during your testing, your trash might be full of them.
Also check if you have undo turned on. I remember undo just kept growing in size
Karl
se99011@fhs-hagenberg.ac.at wrote:
Hi there,
I work on a 3.0 image with all fixes. I do some "trivial" development work (a banking system), working on about a dozen classes, using the Whisker browser, a workspace and a selector browser.
After a week of work or so my image has grown in size _considerably_. Starting from the original 10 MB I'm now at 23 MB. Am I doing something wrong? I tried to garbageCollect a few times, but this only frees a few KB.
There were some issues with Whisker 0.92 creating a lot of dependents, which I believe weren't getting GC'd. (Hmm, although maybe this was only an issue with 3.2gamma.)
See http://groups.yahoo.com/group/squeak/message/45000 and responses for related discussion.
In any case, I'll be looking at this issue before I release Whisker 0.93, after Squeak 3.2 is finalized.
- Doug Way Detroit, MI
Zitiere Doug Way dway@riskmetrics.com:
There were some issues with Whisker 0.92 creating a lot of dependents, which I believe weren't getting GC'd. (Hmm, although maybe this was only an issue with 3.2gamma.)
See http://groups.yahoo.com/group/squeak/message/45000 and responses for related discussion.
In any case, I'll be looking at this issue before I release Whisker 0.93, after Squeak 3.2 is finalized.
- Doug Way Detroit, MI
I'm using the Whisker 0.93 beta.
Christian Eitner
Well, I took a look at all the Whisker instances in my image:
Whisker-Basic: AbstractMultiSelectHierarchicalList: 0 ClassCommentSubstitute: 39 ClassDefinitionSubstitute: 39 CodeSubstitute: 0 DeselectCanceledException: 0 HierarchicalCategoryList: 14 HierarchicalClassDefinition: 39 HierarchicalClassList: 14 ListItemMenuMorph: 0 MethodSubstitute: 2329 MethodVersionSubstitute: 10 MultiSelectHierarchicalListMorph: 67 TitledPane: 159 WhiskerBrowser: 14 WhiskerListItemMorph: 6287 WhiskerWindow: 14 Total: 9025
Whisker-Item Wrappers: ClassCategorySectionWrapper: 493 ClassCommentWrapper: 39 ClassDefinitionWrapper: 39 ClassInCategoriesWrapper: 355 ClassInHierarchyWrapper: 2420 ClassInstanceVariablesWrapper: 39 ClassVariablesWrapper: 39 ClassWrapper: 0 InstanceOrClassMethodsWrapper: 78 InstanceVariablesWrapper: 39 MethodCategoryWrapper: 403 MethodVersionWrapper: 10 MethodWithinCategoryWrapper: 2329 VariableWrapper: 4 Total: 6287
This is Whisker 0.93 beta in Squeak 3.0. Work with this image was browsing two dozen classes and writing perhaps ten methods, and its size went up from about ten to 12MB.
-- Christian
Christian Eitner Sub-Omnipotent/SoftwareEngineer
Zitiere se99011@fhs-hagenberg.ac.at:
Zitiere Doug Way dway@riskmetrics.com:
There were some issues with Whisker 0.92 creating a lot of
dependents,
which I believe weren't getting GC'd. (Hmm, although maybe this was only an issue with 3.2gamma.)
See http://groups.yahoo.com/group/squeak/message/45000 and responses
for
related discussion.
In any case, I'll be looking at this issue before I release Whisker 0.93, after Squeak 3.2 is finalized.
- Doug Way Detroit, MI
I'm using the Whisker 0.93 beta.
Christian Eitner
squeak-dev@lists.squeakfoundation.org