From: Bruno S. <bru...@ya...> - 2005-04-07 18:35:22
|
hello Good news: it works and it works screamingly fast ! 112 invoices per minutes on a pentium 1.6 Ghz laptop which is really great. (compared to 15-20 invoices per minute with FOP) 1) As expected there seems to be memory leaks. here's an very small excerpt of what Valgrind is reporting: ==4489== 160632 (129028 direct, 31604 indirect) bytes in 8613 blocks are definitely lost in loss record 110 of 116 ==4489== at 0x1B90459D: malloc (vg_replace_malloc.c:130) ==4489== by 0x1BFF9A46: g_malloc (gmem.c:137) ==4489== by 0x1C009A78: g_strdup (gstrfuncs.c:90) ==4489== by 0x1BD418AE: fo_string_get_value (fo-string.c:264) ==4489== by 0x1BC44A33: fo_block_area_new (fo-block-area.c:315) ==4489== by 0x1BC4517D: fo_block_area_new2 (fo-block-area.c:496) ==4489== by 0x1BC491B6: fo_fo_area_new2 (fo-fo.c:1078) ==4489== by 0x1BC617F4: fo_block_layout_children_properties_resolve (fo-block-layout.c:152) ==4489== by 0x1BC490BD: fo_fo_children_properties_resolve (fo-fo.c:1029) ==4489== by 0x1BC48FD4: fo_fo_children_properties_resolve_default (fo-fo.c:979) ==4489== by 0x1BC490BD: fo_fo_children_properties_resolve (fo-fo.c:1029) ==4489== by 0x1BD222AA: fo_table_part_children_properties_resolve (fo-table-part.c:272) ==4489== ==4489== ==4489== 834570 (620236 direct, 214334 indirect) bytes in 22483 blocks are definitely lost in loss record 114 of 116 ==4489== at 0x1B904F75: calloc (vg_replace_malloc.c:175) ==4489== by 0x1BFF9ACE: g_malloc0 (gmem.c:154) ==4489== by 0x1BFB8B75: g_type_create_instance (gtype.c:1576) ==4489== by 0x1BFA58FE: ??? (gobject.c:1045) ==4489== by 0x1BFA50CD: g_object_newv (gobject.c:942) ==4489== by 0x1BFA574F: g_object_new_valist (gobject.c:1026) ==4489== by 0x1BFA4DBA: g_object_new (gobject.c:823) ==4489== by 0x1BC247DD: fo_context_util_spaces_resolve (fo-context-util.c:635) ==4489== by 0x1BC27581: fo_fo_resolve_property_attributes_default (result-to-fo.c:927) ==4489== by 0x1BC48DF6: fo_fo_resolve_property_attributes (fo-fo.c:904) ==4489== by 0x1BC092D9: fo_node_g_node_traverse_func (fo-node.c:840) ==4489== by 0x1BFFDC17: ??? (gnode.c:519) 2)The invoices are really bigger than those obtained with FOP. 63,7 KB compared to 5.6 KB for the same invoice. 3) Some features seem to be unsupported. No header/footer and some of the information has vanished (name and address of the customer for instance). I'll check on the web site for the unsupported features. I hope there is a way to solve those problems. Thank you Stefan and Tony for your help. Regards Bruno __________________________________________________________________ Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails ! Créez votre Yahoo! Mail sur http://fr.mail.yahoo.com/ |