Many thanks for your answer. I'll take a look tomorrow, in any case I'm using 
the latest version of the plugin.

I'll look into my code, it's probable that the problem is there ;)

I'll let you know.

Il giorno 11/giu/2013, alle ore 20:22, Christian Schmitz 
<[email protected]> ha scritto:

> 
> 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


------

Sergio Tamborini
Brescia
http://www.system-i.it


"C'è un equivoco di fondo. Si dice che il politico che ha avuto frequentazioni 
mafiose, se non viene giudicato colpevole dalla magistratura, è un uomo onesto. 
No! La magistratura può fare solo accertamenti di carattere giudiziale. Le 
istituzioni hanno il dovere di estromettere gli uomini politici vicini alla 
mafia, per essere oneste e apparire tali"

"There is a basic misunderstanding. It is said that political mafia has had 
acquaintances, if not found guilty by the courts, is an honest man. No. The 
judiciary can only do the findings of a judicial nature. Institutions have a 
duty to oust politicians close to the mafia, to be honest, these look "

Paolo Borsellino


_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to