[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ns] Re: Great Topologie : segmentation fault



Hi Mr Yu,
Thank You for always responding me. Now I have decreased the number of node. I have success with 1000 ,and 2000 nodes. Besides I have found some memory fault in my  C++ code that contain the new agent such as allocating a packet without Freeing It. But The problem of memory with a large topologie comes with the computeroutes() method that generate a segementation fault when it computes the logic routes.
I will increase tyhe number of node step by step (1000 by step) to reach the max number of node possible
That what i have done
 
You simply have too many nodes and run out of memory.You should use session sim, and play with your parameters, or use smaller topology. I'd love to hear if you found other ways around.
-----Original Message-----
From: [email protected] [mailto:[email protected]]
Sent: Sunday, May 28, 2000 9:16 AM
To: Haobo Yu; [email protected]
Subject: Great Topologie : segmentation fault
Hi ,
I have found a problem with a great topologie.
I have done my own agent and I want to test it with large topologies.
I Have done a topologie with 1095 nodes and it works well.
But When i genrate a topologie with 15000 node it generates the follwing message  :
/************************************************/
 Program received signal SIGSEGV, Segmentation fault.
0x80511e7 in RouteLogic::alloc ()
/*************************************************/
Do You know why a segmentation fault is genrated?
Thank You
 
-- 
--------------------------------------------------------------------------
        Cordialement
        
Koubaa Anis 
Organization : LORIA Nancy
Equipe : RESEDAS
Adresse : CU Haute Malgrange Vandeoeuvre Nancy Bloc C 528
Mail : [email protected]
Page Perso : http://www.loria.fr/~akoubaa/
Projet : Comparaison des Protocoles de clés de distribution de clé de groupe en utilisant NS
--------------------------------------------------------------------------
 
-- 
--------------------------------------------------------------------------
        Cordialement
        
Koubaa Anis 
Organization : LORIA Nancy
Equipe : RESEDAS
Adresse : CU Haute Malgrange Vandeoeuvre Nancy Bloc C 528
Mail : [email protected]
Page Perso : http://www.loria.fr/~akoubaa/
Projet : Comparaison des Protocoles de clés de distribution de clé de groupe en utilisant NS
--------------------------------------------------------------------------