14821
Progress Journals & Experimental Routines / Re: ADARQ's journal
« on: April 23, 2012, 07:32:19 am »
damn my neighbor died... nuts.... i been coding all night, watching as cops investigate.
ok so i finished this alloc tracker thing, freakin nuts..
when i type 'alloc', it scrolls for like, literally 30 seconds.. so much stuff allocated/free'd for my bot.. then, say i type 'off', which is supposed to clean everything up, then i type 'alloclist' (only show stuff still allocated), here's the final output:
debug: bot_evhook_console: read [alloclist]
gah
bot_alloc_print: Printing alloc'd objects:
0x817c0b0 => bot_misc.c str_unite 50 (strdup) ::: active=1 addr=0x817c0b0 size=9 data=[/darqbot/], ctime=Mon Apr 23 11:20:08 2012
0x817bfd8 => bot_misc.c str_unite 50 (strdup) ::: active=1 addr=0x817bfd8 size=14 data=[/darqbot//conf], ctime=Mon Apr 23 11:20:08 2012
0x817b8d8 => bot_global.c bot_global_conf_parse 83 (strdup) ::: active=1 addr=0x817b8d8 size=9 data=[/darqbot/], ctime=Mon Apr 23 11:20:08 2012
0x8191478 => bot_misc.c str_unite 50 (strdup) ::: active=1 addr=0x8191478 size=9 data=[/.darqbot], ctime=Mon Apr 23 11:20:08 2012
sooo..... 1204912409120 lines of allocated data scrolling, then i turn it off, and only ~5 ptr's allocated.
BEAST
MODE
SONSON.
that basically means their are no leaks.. anyway, ill have to stress it more and see what remains, and keep this process going as i add more components/modules etc.. to make sure i have 0 memory leaks.
it took longer than expected because i had to re-organize alot of code, specifically the module interface.. i need to reorganize it further in a few days, to allow for multiple servers.
peace
ok so i finished this alloc tracker thing, freakin nuts..
when i type 'alloc', it scrolls for like, literally 30 seconds.. so much stuff allocated/free'd for my bot.. then, say i type 'off', which is supposed to clean everything up, then i type 'alloclist' (only show stuff still allocated), here's the final output:
debug: bot_evhook_console: read [alloclist]
gah
bot_alloc_print: Printing alloc'd objects:
0x817c0b0 => bot_misc.c str_unite 50 (strdup) ::: active=1 addr=0x817c0b0 size=9 data=[/darqbot/], ctime=Mon Apr 23 11:20:08 2012
0x817bfd8 => bot_misc.c str_unite 50 (strdup) ::: active=1 addr=0x817bfd8 size=14 data=[/darqbot//conf], ctime=Mon Apr 23 11:20:08 2012
0x817b8d8 => bot_global.c bot_global_conf_parse 83 (strdup) ::: active=1 addr=0x817b8d8 size=9 data=[/darqbot/], ctime=Mon Apr 23 11:20:08 2012
0x8191478 => bot_misc.c str_unite 50 (strdup) ::: active=1 addr=0x8191478 size=9 data=[/.darqbot], ctime=Mon Apr 23 11:20:08 2012
sooo..... 1204912409120 lines of allocated data scrolling, then i turn it off, and only ~5 ptr's allocated.
BEAST
MODE
SONSON.
that basically means their are no leaks.. anyway, ill have to stress it more and see what remains, and keep this process going as i add more components/modules etc.. to make sure i have 0 memory leaks.
it took longer than expected because i had to re-organize alot of code, specifically the module interface.. i need to reorganize it further in a few days, to allow for multiple servers.
peace



) so he rarely takes holidays. He studied cybernetics in College.
{ puts(""); } } etc.. but python definitely no, goland probably not.. C/lisp can fit nicely on one line..