2010/9/1 Henrik Sperre Johansen <henrik.s.johan...@veloxit.no> > The error no free space in set should be fixed in 1.1. > Except abysmal performance, what problem do you have exactly? >
I am not talking about performance. I am talking that it just raise that error. What I do particulary in SqueakDBX (it is optional thus) is that when a Connection is created, it is added to WeakRegistry default so that I can implement #finalize and this method releases the database connection if it was not already done. This is for possible bugs or developers where they don't cal correctly yhe#disconnect method. Of course, if you use the pool you won't have this problem (depending how many connections you define in the pool as max). Anyway, while running tests, I create a lot of connections, thus, I get the error "There is no free space in this set!'" when the code tries to add the connection to the WeakRegistry. Thanks Henry. mariano > > Cheers, > Henry > > > On 01.09.2010 16:41, Mariano Martinez Peck wrote: > > So....any helpers? > > http://code.google.com/p/pharo/issues/detail?id=2551 > http://code.google.com/p/pharo/issues/detail?id=1628 > > I would like to help, but I am 100% newbie in this. Please consider me as > tester. > > Cheers > > mariano > > 2010/8/5 Miguel Enrique Cobá Martínez <miguel.c...@gmail.com> > >> El jue, 05-08-2010 a las 21:35 +0200, Mariano Martinez Peck escribió: >> > I know this is a alraedy known issue: >> > http://code.google.com/p/pharo/issues/detail?id=1628 >> > I am trying to make SqueakDBX work in 1.1 and it doesn't work because >> > of this. Each DBXConnection is registered in the WeakRegistry just to >> > close the database connection in case they don't do it explicitly. >> > >> > This this, I have a: >> > >> > addObjectToGarbageCollect: anObject >> > >> > WeakRegistry default add: anObject. >> > >> > >> > And in DBXConnetion >> connect, I call that method. >> > >> > Do you know how to solve the problem? I read the issue but I am >> > uncertain what should I do nor if it is fixed. I think this bug is >> > really important. >> >> Not a solution sorry, but a suggestion (or maybe this is already >> implemented, I haven't used SqueakDBX). :) >> >> Maybe it would be useful to add a pool for the connections so they >> aren't so many at the same time. Also, the database admin will be >> grateful. >> >> Cheers >> >> >> > >> > Thanks >> > >> > Mariano >> > _______________________________________________ >> > Pharo-project mailing list >> > Pharo-project@lists.gforge.inria.fr >> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project >> >> -- >> Miguel Cobá >> http://miguel.leugim.com.mx >> >> >> _______________________________________________ >> Pharo-project mailing list >> Pharo-project@lists.gforge.inria.fr >> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > > > > _______________________________________________ > Pharo-project mailing > listpharo-proj...@lists.gforge.inria.frhttp://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > > > > _______________________________________________ > Pharo-project mailing list > Pharo-project@lists.gforge.inria.fr > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project >
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project