Process monitor space warning old space bytes left: ... automatic globalGC

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

Process monitor space warning old space bytes left: ... automatic globalGC

Mathieu van Echtelt-2
Hi List,

During import or export of a large XML file, once in a while, the
process monitor pops up with window title:  "Process monitor space
warning old space bytes left: ...", and the import/export job is
paused.

Clicking "collect all garbage" in the VW-launcher frees up about 2Gb
of memory at that point. After clicking "proceed all and close" in the
Process monitor,
everything runs further fine and VW completes the import/export job.

Why doesn't VW garbage collect automatically by itself? And is it
possible for us to hook a globalGC in the lowSpace warning?

Putting "Processor yield" at several points in our code (to let the GC
come through) isn't 100% effective either.

We are using VW7.6 32bit.

Thanks in advance & greetings,

Mathieu van Echtelt

--
AG5
Willem Fenengastraat 4C
1096 BN  Amsterdam
www.ag5.nl
Tel: 020-4630942
Fax: 020-4630946

----------------------------------------------------------------------------------
Dit bericht kan informatie bevatten die niet voor u is bestemd. Indien
u niet de geadresseerde bent of dit bericht abusievelijk aan u is
toegezonden, wordt u verzocht dat aan de afzender te melden en het
bericht te verwijderen. Elk ongeoorloofd gebruik of verspreiding van
dit bericht, geheel of gedeeltelijk is strikt verboden.

This message may contain information that is not intended for you. If
you are not the addressee or if this message was sent to you by
mistake, you are requested to inform the sender and delete the
message. Any unauthorised use or dissemination of this message  in
whole or in part is strictly prohibited.

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: Process monitor space warning old space bytes left: ... automatic globalGC

Andres Valloud-6
In versions prior to 7.7.1, the memory policy objects have a few bugs
that affect garbage collection.  The one you describe is one of them:
old memory policies can declare a memory emergency when there is no such
thing.

On 12/7/2010 2:43 AM, Mathieu van Echtelt wrote:

> Hi List,
>
> During import or export of a large XML file, once in a while, the
> process monitor pops up with window title:  "Process monitor space
> warning old space bytes left: ...", and the import/export job is
> paused.
>
> Clicking "collect all garbage" in the VW-launcher frees up about 2Gb
> of memory at that point. After clicking "proceed all and close" in the
> Process monitor,
> everything runs further fine and VW completes the import/export job.
>
> Why doesn't VW garbage collect automatically by itself? And is it
> possible for us to hook a globalGC in the lowSpace warning?
>
> Putting "Processor yield" at several points in our code (to let the GC
> come through) isn't 100% effective either.
>
> We are using VW7.6 32bit.
>
> Thanks in advance&  greetings,
>
> Mathieu van Echtelt
>
_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc