Boost logo

Boost :

From: SourceForge.net (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:
https://sourceforge.net/tracker/?func=detail&atid=107586&aid=1567828&group_id=7586

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:
Hello,
I've been in fight with memory leaks in my application for some days.
And
now I found that most memory is losing while using adjacency_list<>
(boost
1.33.1 + VC++6.0). Basically we've lost about 100Kb after each graph
life
cycle (created - changed - removing). Moreover, I guess, I found the
similar
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)
{
 add_vertex(graph);
}
delete graph;
}

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

Thanks

_______________________________________________
Boost-users mailing list
Boost-users_at_[hidden]
http://lists.boost.org/mailman/listinfo.cgi/boost-users

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=107586&aid=1567828&group_id=7586

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Boost-bugs mailing list
Boost-bugs_at_[hidden]
https://lists.sourceforge.net/lists/listinfo/boost-bugs


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk