Image grows everytime

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

Image grows everytime

Özer DURMAZ
Hi all,

I'm using VA Smalltalk 8.6.
In VA ST 7.5.2, when I execute 'System abtScrubImage' and save image, icx size downs.
But in 8.6, icx always grows. Is this a garbage collector problem or memory usage problem?
Any solution??  My image size is now about 700 MB and it grows so fast...

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/groups/opt_out.
Reply | Threaded
Open this post in threaded view
|

Re: Image grows everytime

Seth Berman
Do you have DirectWrite enabled for fonts?
If so, can you disable and let me know if you experience the same problem.

--Seth

On Thursday, October 24, 2013 12:09:48 PM UTC-4, Özer DURMAZ wrote:
Hi all,

I'm using VA Smalltalk 8.6.
In VA ST 7.5.2, when I execute 'System abtScrubImage' and save image, icx size downs.
But in 8.6, icx always grows. Is this a garbage collector problem or memory usage problem?
Any solution??  My image size is now about 700 MB and it grows so fast...

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/groups/opt_out.
Reply | Threaded
Open this post in threaded view
|

Re: Image grows everytime

Özer DURMAZ
It was enabled. Now I disabled it but no changes... Image is still growing even if I scrub image :(


24 Ekim 2013 Perşembe 21:04:41 UTC+3 tarihinde Seth Berman yazdı:
Do you have DirectWrite enabled for fonts?
If so, can you disable and let me know if you experience the same problem.

--Seth

On Thursday, October 24, 2013 12:09:48 PM UTC-4, Özer DURMAZ wrote:
Hi all,

I'm using VA Smalltalk 8.6.
In VA ST 7.5.2, when I execute 'System abtScrubImage' and save image, icx size downs.
But in 8.6, icx always grows. Is this a garbage collector problem or memory usage problem?
Any solution??  My image size is now about 700 MB and it grows so fast...

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/groups/opt_out.
Reply | Threaded
Open this post in threaded view
|

Re: Image grows everytime

Özer DURMAZ
In reply to this post by Özer DURMAZ

Only 'System globalGarbageCollect' shrinks memory usage so image has shrinked 2 MBytes only... But nothing more that...
I have a backup of abt.icx file's empty one. I load a configuration map to old mini image that contains update applications to work on small image file.
I'm still waiting a solution...


24 Ekim 2013 Perşembe 19:09:48 UTC+3 tarihinde Özer DURMAZ yazdı:
Hi all,

I'm using VA Smalltalk 8.6.
In VA ST 7.5.2, when I execute 'System abtScrubImage' and save image, icx size downs.
But in 8.6, icx always grows. Is this a garbage collector problem or memory usage problem?
Any solution??  My image size is now about 700 MB and it grows so fast...

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/groups/opt_out.
Reply | Threaded
Open this post in threaded view
|

Re: Image grows everytime

Dusty-2
I found that 'System globalGarbageCollect' increased the size of my image.
My previous dev image was around 80MB. the new one under 8.6 is 135MB and not shrinking.


On Thu, Oct 24, 2013 at 8:11 PM, Özer DURMAZ <[hidden email]> wrote:

Only 'System globalGarbageCollect' shrinks memory usage so image has shrinked 2 MBytes only... But nothing more that...
I have a backup of abt.icx file's empty one. I load a configuration map to old mini image that contains update applications to work on small image file.
I'm still waiting a solution...


24 Ekim 2013 Perşembe 19:09:48 UTC+3 tarihinde Özer DURMAZ yazdı:
Hi all,

I'm using VA Smalltalk 8.6.
In VA ST 7.5.2, when I execute 'System abtScrubImage' and save image, icx size downs.
But in 8.6, icx always grows. Is this a garbage collector problem or memory usage problem?
Any solution??  My image size is now about 700 MB and it grows so fast...

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/groups/opt_out.
Reply | Threaded
Open this post in threaded view
|

Re: Image grows everytime

Seth Berman
I'm still working out the puzzle, but for me I have the memory growth narrowed down to using directwrite enabled fonts.
The simple test case is (with directwrite enabled) to resize the editor window with the drag bar, and with "task manager" open you can see the memory grow.
However, this is not managed smalltalk memory, so running the garbage collector will basically have no impact.
This memory won't release until the image is shutdown.  If directwrite is disabled, I do not notice any of these memory issues.

I will put a case in for this item and work on it.
If it looks like this is out of Vast's control and an issue with the scintilla component, I will request help on their forums.


-- Seth Berman

On Monday, October 28, 2013 4:17:20 AM UTC-4, Dusty wrote:
I found that 'System globalGarbageCollect' increased the size of my image.
My previous dev image was around 80MB. the new one under 8.6 is 135MB and not shrinking.


On Thu, Oct 24, 2013 at 8:11 PM, Özer DURMAZ <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="lqALxqCMQAMJ">cobra...@...> wrote:

Only 'System globalGarbageCollect' shrinks memory usage so image has shrinked 2 MBytes only... But nothing more that...
I have a backup of abt.icx file's empty one. I load a configuration map to old mini image that contains update applications to work on small image file.
I'm still waiting a solution...


24 Ekim 2013 Perşembe 19:09:48 UTC+3 tarihinde Özer DURMAZ yazdı:
Hi all,

I'm using VA Smalltalk 8.6.
In VA ST 7.5.2, when I execute 'System abtScrubImage' and save image, icx size downs.
But in 8.6, icx always grows. Is this a garbage collector problem or memory usage problem?
Any solution??  My image size is now about 700 MB and it grows so fast...

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="lqALxqCMQAMJ">va-smalltalk...@googlegroups.com.
To post to this group, send email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="lqALxqCMQAMJ">va-sma...@....
Visit this group at http://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/groups/opt_out.
Reply | Threaded
Open this post in threaded view
|

Re: Image grows everytime

Seth Berman
In reply to this post by Dusty-2
For some inexplicable reason, I seem to be the only one who can demonstrate the directwrite memory leak that I have previous reported in this thread.
This could be just an issue with my machine (possibly graphics driver?), but nobody else can seem to reproduce it.

If anyone is willing and has Win Vista SP2 or above using Vast 8.6, could you please try the test I have defined in the attached workspace.
I would be interested to know if anyone else can reproduce.

As to the memory retention mentioned in this thread, one area that I have fixed since 8.6 is the periodic cleaning out of the class var 'WindowRegistry' in StsCodeAssist. Normally, this cleans up after itself through normal window events, but for folks who use abtScrubImage as previously reported...this eventing gets bypassed and these windows will persist as entries in this list.

If you think there is memory that is not being let go, you may want to check this.  

Thanks for any help

-- Seth

On Monday, October 28, 2013 4:17:20 AM UTC-4, Dusty wrote:
I found that 'System globalGarbageCollect' increased the size of my image.
My previous dev image was around 80MB. the new one under 8.6 is 135MB and not shrinking.


On Thu, Oct 24, 2013 at 8:11 PM, Özer DURMAZ <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="lqALxqCMQAMJ">cobra...@...> wrote:

Only 'System globalGarbageCollect' shrinks memory usage so image has shrinked 2 MBytes only... But nothing more that...
I have a backup of abt.icx file's empty one. I load a configuration map to old mini image that contains update applications to work on small image file.
I'm still waiting a solution...


24 Ekim 2013 Perşembe 19:09:48 UTC+3 tarihinde Özer DURMAZ yazdı:
Hi all,

I'm using VA Smalltalk 8.6.
In VA ST 7.5.2, when I execute 'System abtScrubImage' and save image, icx size downs.
But in 8.6, icx always grows. Is this a garbage collector problem or memory usage problem?
Any solution??  My image size is now about 700 MB and it grows so fast...

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="lqALxqCMQAMJ">va-smalltalk...@googlegroups.com.
To post to this group, send email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="lqALxqCMQAMJ">va-sma...@....
Visit this group at http://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/groups/opt_out.

SimpleScintillaExample.zip (840 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Image grows everytime

SebastianHC
Hi Richard,

Windows 8.1 the memory grows. If I place the debugger over the Scintilla widget the memory drops after a while again. If the widget is on top again, the memory raises close to the last max value.

The memory raises in tiny steps,... but 2 MB is quite a lot for just one widget like this.

Hope that helps
Sebastian


Am 06.11.2013 20:29, schrieb Seth Berman:
For some inexplicable reason, I seem to be the only one who can demonstrate the directwrite memory leak that I have previous reported in this thread.
This could be just an issue with my machine (possibly graphics driver?), but nobody else can seem to reproduce it.

If anyone is willing and has Win Vista SP2 or above using Vast 8.6, could you please try the test I have defined in the attached workspace.
I would be interested to know if anyone else can reproduce.

As to the memory retention mentioned in this thread, one area that I have fixed since 8.6 is the periodic cleaning out of the class var 'WindowRegistry' in StsCodeAssist. Normally, this cleans up after itself through normal window events, but for folks who use abtScrubImage as previously reported...this eventing gets bypassed and these windows will persist as entries in this list.

If you think there is memory that is not being let go, you may want to check this.  

Thanks for any help

-- Seth

On Monday, October 28, 2013 4:17:20 AM UTC-4, Dusty wrote:
I found that 'System globalGarbageCollect' increased the size of my image.
My previous dev image was around 80MB. the new one under 8.6 is 135MB and not shrinking.


On Thu, Oct 24, 2013 at 8:11 PM, Özer DURMAZ <<a moz-do-not-send="true" href="javascript:" target="_blank" gdf-obfuscated-mailto="lqALxqCMQAMJ">cobra...@...> wrote:

Only 'System globalGarbageCollect' shrinks memory usage so image has shrinked 2 MBytes only... But nothing more that...
I have a backup of abt.icx file's empty one. I load a configuration map to old mini image that contains update applications to work on small image file.
I'm still waiting a solution...


24 Ekim 2013 Perşembe 19:09:48 UTC+3 tarihinde Özer DURMAZ yazdı:
Hi all,

I'm using VA Smalltalk 8.6.
In VA ST 7.5.2, when I execute 'System abtScrubImage' and save image, icx size downs.
But in 8.6, icx always grows. Is this a garbage collector problem or memory usage problem?
Any solution??  My image size is now about 700 MB and it grows so fast...

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a moz-do-not-send="true" href="javascript:" target="_blank" gdf-obfuscated-mailto="lqALxqCMQAMJ">va-smalltalk...@googlegroups.com.
To post to this group, send email to <a moz-do-not-send="true" href="javascript:" target="_blank" gdf-obfuscated-mailto="lqALxqCMQAMJ">va-sma...@....
Visit this group at http://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/groups/opt_out.