Garbage collection in trunk

View: New views
3 Messages — Rating Filter:   Alert me  

Garbage collection in trunk

by Kummel62 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
When I exit Gramps ( in trunk rev 13453) after I have changed database, I get gc messages:
9 like:
gc: uncollectable <DBShelf 0xb137b84c>
and 9 like:
gc: uncollectable <dict 0xb5c20bdc>

Never seen this before. Anything serious?

/Peter


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Gramps-devel mailing list
Gramps-devel@...
https://lists.sourceforge.net/lists/listinfo/gramps-devel

Re: Garbage collection in trunk

by Helge@GRAMPS :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have for 3.1.2 (last svn from branch) results like yours if I run an comand line job:
python gramps.py -O "Stammbaum (04.10.2009) GRAMPS 3.1.2x" -f "gramps-xml" -e "D:\GRAMPS\BU\out.gramps"

Opened successfully!
Exporting: file D:\GRAMPS\BU\out.gramps, format gramps.
Cleaning up.
Exiting.
gc: uncollectable <instance 05B496E8>
gc: uncollectable <dict 05B48420>
gc: uncollectable <list 05B49260>

I runned a database 'check and clear' before but without any succes.
How to understand these messages?

-Helge

Re: Garbage collection in trunk

by Benny Malengier :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

2009/10/30 Helge@GRAMPS <Helge.Herz@...>:

>
> I have for 3.1.2 (last svn from branch) results like yours if I run an comand
> line job:
> python gramps.py -O "Stammbaum (04.10.2009) GRAMPS 3.1.2x" -f "gramps-xml"
> -e "D:\GRAMPS\BU\out.gramps"
>
> Opened successfully!
> Exporting: file D:\GRAMPS\BU\out.gramps, format gramps.
> Cleaning up.
> Exiting.
> gc: uncollectable <instance 05B496E8>
> gc: uncollectable <dict 05B48420>
> gc: uncollectable <list 05B49260>
>
> I runned a database 'check and clear' before but without any succes.
> How to understand these messages?

These are objects that python holds no reference to anymore, but
cannot be cleaned by the automatic garbage collection.
As you close the program, that is no problem, as all memory is
released on close anyway.

See http://docs.python.org/library/gc.html , the garbage function.

Benny

>
> -Helge
> --
> View this message in context: http://old.nabble.com/Garbage-collection-in-trunk-tp26108247p26136950.html
> Sent from the GRAMPS - Dev mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> Gramps-devel mailing list
> Gramps-devel@...
> https://lists.sourceforge.net/lists/listinfo/gramps-devel
>

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Gramps-devel mailing list
Gramps-devel@...
https://lists.sourceforge.net/lists/listinfo/gramps-devel