[Glass] GC and how to make it successful in the first run ...

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

[Glass] GC and how to make it successful in the first run ...

marten
Hey,

I'm doing my first simple steps in Gemstone in a VirtualBox machine with
around 50 GB of space and I noticed that my disc space is vanishing away
very fast.

I have never been able to reduce the size of my extent0.dbf - it's
getting larger and larger ... and I'm doing always the same task:

importing large amount of data and store it in a class variable of
a class. Because I overwrite the data with the next run I would expect,
that the extent may stay at one size (if I do the GC in a correct way).

I tried "SystemRepository markForCollection" or "SystemRepository
reclaimAll" - butr nothing worked.

Therefore the question: how is it done simply and correctly ?

Marten



_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass
Reply | Threaded
Open this post in threaded view
|

Re: [Glass] GC and how to make it successful in the first run ...

James Foster-9
Hi Marten,

When you do "SystemRepository markForCollection” what do you get back? It should tell you how many objects it found as possibly dead. Is there anything interesting in any of the GcGem logs (admin or reclaim)? Do you have other sessions logged in? How long have they been logged in?

James

On Nov 11, 2013, at 2:05 PM, [hidden email] wrote:

> Hey,
>
> I'm doing my first simple steps in Gemstone in a VirtualBox machine with
> around 50 GB of space and I noticed that my disc space is vanishing away
> very fast.
>
> I have never been able to reduce the size of my extent0.dbf - it's
> getting larger and larger ... and I'm doing always the same task:
>
> importing large amount of data and store it in a class variable of
> a class. Because I overwrite the data with the next run I would expect,
> that the extent may stay at one size (if I do the GC in a correct way).
>
> I tried "SystemRepository markForCollection" or "SystemRepository
> reclaimAll" - butr nothing worked.
>
> Therefore the question: how is it done simply and correctly ?
>
> Marten
>
>
>
> _______________________________________________
> Glass mailing list
> [hidden email]
> http://lists.gemtalksystems.com/mailman/listinfo/glass

_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass
Reply | Threaded
Open this post in threaded view
|

Re: [Glass] GC and how to make it successful in the first run ...

marten
When executing "SystemRepository markForCollection” I get the output of:

 a Warning occurred (notification 2515), markForCollection found
22927620 live objects, 22537308 dead objects(occupying approx 2028357720
bytes)

And now ?

Marten


Am 11.11.2013 23:10, schrieb James Foster:
> SystemRepository markForCollection

When you do "SystemRepository markForCollection” what do you get back?
It should tell you how many objects it found as possibly dead. Is there
anything interesting in any of the GcGem logs (admin or reclaim)? Do you
have other sessions logged in? How long have they been logged in?

_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass
Reply | Threaded
Open this post in threaded view
|

Re: [Glass] GC and how to make it successful in the first run ...

James Foster-9
Now look at the Stone and GcGem logs (admin and reclaim). What entries do they contain since the MFC finished?

Do you have any other sessions logged in? If so, how long have they been logged in?

Are you running statmonitor? See appendix G (p. 463) of http://downloads.gemtalksystems.com/docs/GemStone64/3.1.x/GS64-SysAdminGuide-3.1.pdf.
If not, then you should! This is the best tool to help diagnose these problems.

James Foster
Director of Operations
GemTalk Systems, LLC
+1 503 766 4714 (voice & fax)
[hidden email]

On Nov 11, 2013, at 10:26 PM, [hidden email] wrote:

When executing "SystemRepository markForCollection” I get the output of:

a Warning occurred (notification 2515), markForCollection found
22927620 live objects, 22537308 dead objects(occupying approx 2028357720
bytes)

And now ?

Marten


Am 11.11.2013 23:10, schrieb James Foster:
SystemRepository markForCollection

When you do "SystemRepository markForCollection” what do you get back?
It should tell you how many objects it found as possibly dead. Is there
anything interesting in any of the GcGem logs (admin or reclaim)? Do you
have other sessions logged in? How long have they been logged in?



_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass