Thanks for the patch. I tried the patch and its working fine. Now since we apply extension it generated a new svg file and copy_doc function copy the doc to the main svg file and changes reflects on the screen, Is there any way to do it differently? I.e. inside copy_doc it first delete the node and item and add new doc and item from the generated svg file. Because I have found whenever we there is call to appnedChild is made it increase memory.
Most of the memory leak from script.cpp file inside copy_doc function.
Hello Jozef,
Thanks for the patch. I tried the patch and its working fine. Now since we apply extension it generated a new svg file and copy_doc function copy the doc to the main svg file and changes reflects on the screen, Is there any way to do it differently? I.e. inside copy_doc it first delete the node and item and add new doc and item from the generated svg file. Because I have found whenever we there is call to appnedChild is made it increase memory.
Most of the memory leak from script.cpp file inside copy_doc function.
Thanks.