Am 11.06.2013 um 20:06 schrieb Sergio Tamborini <[email protected]>:
> Hello all! > > I've made some tests, and seems that every pdf (not only in that routine) > increase the occupation of ram of my app... it seems that at the end of the > pdf creation the ram is not released. Your code does not leak here. So maybe you have older plugins with a bug we fixed already? Best thing would be if you could provide a sample project where code is in a timer running every 1ms and we see the leak in activity monitor. For optimization I would recommend: * reuse MyDynaPDF objects. On each new, some font tables are build and settings are prepared. You can avoid this by reusing the objects. * For in memory PDFs, you should call FreePDF after you got the final PDF data. Newer plugins do this automatically to avoid a leak. Greetings Christian -- MBS Xojo Developer Conference 2013 More details and registration here: http://www.monkeybreadsoftware.de/realbasic/events/ _______________________________________________ Mbsplugins_monkeybreadsoftware.info mailing list [email protected] https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
