FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour All resources consumed in W8.1
Posts: 392
Joined: Tue Jul 29, 2008 01:55 PM
All resources consumed in W8.1
Posted: Wed Jul 09, 2014 03: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.
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Re: All resources consumed in W8.1
Posted: Wed Jul 09, 2014 02: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

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: All resources consumed in W8.1
Posted: Wed Jul 09, 2014 04:15 PM

Gustavo,

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

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 392
Joined: Tue Jul 29, 2008 01:55 PM
Re: All resources consumed in W8.1
Posted: 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.
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Re: All resources consumed in W8.1
Posted: Thu Jul 17, 2014 01:29 AM

Thanks for reporting your solution.

James

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: All resources consumed in W8.1
Posted: Thu Jul 17, 2014 03:29 AM

Very good! :-)

Thanks for sharing it

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion