Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Free some GDI Handlers
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2008
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01530443
Message ID:
01530456
Vues:
80
>>>>Is there a way to free some of GDI resources used?
>>>>
>>>>I saw that when I generate a huge number of pages the Application exceed the defined GDI handlers(10000).
>>>>This is a payroll statements generation utility and it generates more than 4000 PDFs (using XFRX) and send them by email.
>>>>but after 1500th PDF the system crashed :-)
>>>>Is there some API function like GetGuiResources() but SETGuiResources() :-))))
>>>>
>>>>
>>>>I don't want to do anything with the Windows Registry. I know that there is a way to increase GDI handlers with Registry, but as I said, i don't want to manipulate them.
>>>>
>>>>TIA
>>>
>>>Would it be easier just to generate them in batches (maybe 500/batch) and completely close XFRX and any mail handler between batches?
>>
>>I tried this, but the handlers aren't released.
>>I even tried CLEAR RESOURCES :-)
>
>
>Are you generating all the PDFs and then sending Email, or are you generating Email after each PDF is created? I'm wondering if the problem is with XFRX or the EMail operation.
>
>If you just generate PDFs (no Email), does it still crash?
>
>How are you sending EMail?


In this case I commented the whole code where we send eMails :-)
So this is not email related problem (I use CDO to send eMails)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform