[Lemon-user] "bad alloc" while populating graph

Alpár Jüttner alpar at cs.elte.hu
Thu Jun 7 10:39:03 CEST 2007


Hi,

Could you specify the lemon version you actually use?

Regards,
Alpar

On Thu, 2007-06-07 at 10:33 +0200, andrea marino wrote:
> Hi,
> 
> I'm studying the lemon library, and for my graduation work I've to
> build the actor's graph.
> Every actor is a node of the graph and two actors are linked if they
> worked together.
> I made a C++ program to build this graph using the lemon library. 
> The code will create all the nodes and next will create the edges.
> The program work well for a small number of edges, but if I try to
> load all the edges in the database I obtain an error of "bal alloc"
> type when I've loaded about 33550000 edges. 
> 
> The strange thing is that I have tried the program in Windows, Linux,
> MacOSX and the maximum number of edges loaded is the same...
> 
> So I've made, using gdb, a stack trace of the error that I attach.
> Why can't I load more edges? Is a bug in my code or a limit of the
> library? 
> 
> Thanks,
> 
> Andrea Marino 
> _______________________________________________
> Lemon-user mailing list
> Lemon-user at lemon.cs.elte.hu
> http://lemon.cs.elte.hu/mailman/listinfo/lemon-user




More information about the Lemon-user mailing list