[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r11751 - trunk/ext/boost

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2008-01-02 08:41:27 CET

Stefan.Fuhrmann@etas.com wrote:

> I'm sorry. Acutally, I need only boost::pool, which is not part of TR1.
> The problem was that it uses common parts of boost and files that reside
> in the root folder. Thus, there was no clean way of including only
> relevant parts. In r11759, I reduced it manually to ~40 files.
>
> Background: MS CRT memory management goes berserk when the address space
> gets fragmented. This seems to be the case when building extremely large
> revision graphs (>100k nodes). Maybe, its vector<>s fragmenting memory
> when growing. As a result, *closing* the revision graph takes ages (up
> to a minute).

Yes, it's a well known fact that vector<> is bad for big arrays. In such
cases, you should use deque<> because it does not need a block of
continuous memory. Have you tried with a deque<>?

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Wed Jan 2 08:41:57 2008

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.