Thank you

On Wed, Jan 27, 2010 at 5:36 AM, Rob Kinyon <[email protected]> wrote:

> On Wed, Jan 27, 2010 at 00:29, Julien Sobrier <[email protected]> wrote:
> > Hello,
> > I have an application that uses DBIx::Class:Schema to load 28 tables with
> > relationships between all of them. It takes 14 MB up front just to load
> all
> > these tables. I got this number by using GTop and checking the increase
> of
> > proc_mem->rss after loading the Schema class.
> >
> > That seem to be a load of memory for just loading the libraries. Does it
> > seem excessive in your experience? Is there any way to reduce the memory
> > usage?
>
> This is not excessive in the slightest. Try this: create a duplicate
> of each table Foo called FooCopy. So, you have 56 tables. Now, see how
> much memory is used. I'll bet it's around 16MB.
>
> Rob
>
> _______________________________________________
> List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
> IRC: irc.perl.org#dbix-class
> SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
> Searchable Archive:
> http://www.grokbase.com/group/[email protected]
>
_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/[email protected]

Reply via email to