All resources consumed in W8.1

All resources consumed in W8.1

Postby devtuxtla » Wed Jul 09, 2014 3:48 am

Hello FiveWinners.

I have an application developed in xHarbour 1.23 and FW13.08, SQLRDD, which prints about 7000 pages in PDF using Image2PDF; Windows Vista and W7 on the same application runs without additional memory consumption, however, run the same application in W8.1 and consume all memory resources pc memory which is 8MB.

It is very difficult to show the code ...

But if anyone has advice or experience of how to release resources and prevent the application in W8.1, freezing due to lack of resources, we'll be very grateful.

regards
Visite Chiapas, el paraiso de México.
devtuxtla
 
Posts: 392
Joined: Tue Jul 29, 2008 1:55 pm

Re: All resources consumed in W8.1

Postby James Bott » Wed Jul 09, 2014 2:28 pm

I assume you meant 8GB not 8MB.

I don't know the answer to your question, but why would anyone want a 7000 page document? Does somebody actually read it?

I have always questioned clients that wanted what I call a "data dump." When questioned they always can narrow it down to something like they wanted to know the 25 items that are selling the best (or worst), etc.

Also, users can always look up what they need right in the program rather than printing anything. Soon after they print something they often loose track of it anyway.

Still it would be nice to know why the memory is not being released.

Regards,
James
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Re: All resources consumed in W8.1

Postby Antonio Linares » Wed Jul 09, 2014 4:15 pm

Gustavo,

Could you provide a small and self contained example to run it here ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41318
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: All resources consumed in W8.1

Postby devtuxtla » Thu Jul 17, 2014 12:41 am

Hi Antonio
Hi James

Thanks for responding.

The problem of resource consumption in W8.1 was due to a MySQL table to open and not closed, ie to be opened 7500 times, interestingly this same process in W. Vista, NO has the same problem.

Case closed.

I must confess that once corrected this bug, the application performs very well and very fast in W8.1

thanks for the support.

regards
Visite Chiapas, el paraiso de México.
devtuxtla
 
Posts: 392
Joined: Tue Jul 29, 2008 1:55 pm

Re: All resources consumed in W8.1

Postby James Bott » Thu Jul 17, 2014 1:29 am

Thanks for reporting your solution.

James
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Re: All resources consumed in W8.1

Postby Antonio Linares » Thu Jul 17, 2014 3:29 am

Very good! :-)

Thanks for sharing it
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41318
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 8 guests