Boost logo

Boost :

From: (noreply_at_[hidden])
Date: 2006-09-29 11:35:42

Bugs item #1567828, was opened at 2006-09-29 11:35
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: graph
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Douglas Gregor (dgregor)
Assigned to: Douglas Gregor (dgregor)
Summary: Memory leaks in adjacency_list?

Initial Comment:
I've been in fight with memory leaks in my application for some days.
now I found that most memory is losing while using adjacency_list<>
1.33.1 + VC++6.0). Basically we've lost about 100Kb after each graph
cycle (created - changed - removing). Moreover, I guess, I found the
problem on the very simple test:

#include "..\boost_1_33_1\boost\graph\adjacency_list.hpp"
using namespace boost;
typedef adjacency_list<> Graph;
void main()
int num_vertex = 10000;
Graph* graph = new Graph();
for(int j=0; j<num_vertex; ++j)
delete graph;

Here I've lost some memory too (about 20 Kb). Maybe I'm doing


Boost-users mailing list


You can respond by visiting:

Take Surveys. Earn Cash. Influence the Future of IT
Join's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
Boost-bugs mailing list

Boost list run by bdawes at, gregod at, cpdaniel at, john at