[lisp-snmp] Memory usage of ASN.1 library
Brought to you by:
binghe
From: John F. <jf...@ms...> - 2009-04-30 08:27:34
|
Dear Chun Tian, We are struggling with the memory usage of our application. It seems that our garbage collector is rather tiresome (we are using Allegro CL 8.1) and struggles when large amounts of garbage are generated. In the ASN.1 parsing, according to a sensible profile (from SBCL, the Allegro space profiler doesn't give useful information), one of the biggest generators of garbage in our application is 784,921,696 | 72,584 | 0.000000 | ASN.1:OID-NUMBER-LIST (about 50% of the consing). You mention in the source code that this method could easily be improved with a hash-table. How about storing a number-list slot in each object-id instance? Any advice or ideas would be helpful. |