Hello all!
I've got a little-big problem.
Into one of my project, I've got a code that create a pdf with text and images
taken from an article stored into a database (cubesqlserver). All work fine...
but now I've made a routine that create pdfs for all articles stored in the
database (now are about 16000 records). When I run that routine, the memory
used by my application increase continuously. So my app crashes when the memory
is over...
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.
My code sounds like this:
dim pdf as MyDynaPDF
pdf.SetLicenseKey "MY_KEY"
call pdf.SetJPEGQuality(100)
call pdf.SetResolution(300)
call pdf.CreateNewPDF(nil)
' then I write some texts and draw some images...
' and at the end:
call pdf.EndPage
call pdf.EndPage
call pdf.CloseFile
pdf=nil
Anyone can give me a suggestion?
Many thanks!
------
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