Page 1 of 2

Problem with alaska 1.90.355, and stops

Posted: Fri Jun 22, 2018 6:33 pm
by digitsoft
hello Roger
Problem with alaska 1.90.355, and that at some point my software stops and after a few minutes returns to normal, this happens very often and I do not see what the problem is.
If you can give me an idea, I'll thank you.

Re: Problem with alaska 1.90.355, and stops

Posted: Fri Jun 22, 2018 8:06 pm
by bwolfsohn
What happens with the cpu utilization ?

Re: Problem with alaska 1.90.355, and stops

Posted: Sat Jun 23, 2018 3:33 am
by digitsoft
Window 10 64 bit with 8g Ram and disk 500g
Window 10 32 bit with 4g Ram and disk 240g
And Windows 7 32 bit san 4g Ram and disk 250g

bwolfsohn wrote:What happens with the cpu utilization ?

Re: Problem with alaska 1.90.355, and stops

Posted: Sat Jun 23, 2018 3:38 am
by digitsoft
Window 10 64 bit with 8g Ram and disk 500g and cpu i7
Window 10 32 bit with 4g Ram and disk 500g and cpu i5
And Windows 7 32 bit san 4g Ram and disk 250g and cpu i3

Re: Problem with alaska 1.90.355, and stops

Posted: Sat Jun 23, 2018 8:51 am
by bwolfsohn
I mean: what does the CPU % utilization look like when the program hangs ?? does it go to 100% ? does it spike at all ?

Re: Problem with alaska 1.90.355, and stops

Posted: Sat Jun 23, 2018 9:11 am
by Tom
Can you kill the app with ALT-C? What does the XPPFATAL.LOG say then? Did you try to run stuff like ProcMon (www.sysinternals.com) to see what happens when the app seems to hang? This is not a problem of Xbase++ or Windows in general, but something you do inside your program.

Re: Problem with alaska 1.90.355, and stops

Posted: Sat Jun 23, 2018 1:19 pm
by rdonnay
Tom is right. Probably your CPU is hitting 100%.

This can be caused mostly by DO WHILE or FOR NEXT loops that are doing processing in another thread.
If you have this situation in your program, you should always put a Sleep(.1) in the loop.

Other than that, I don't have any ideas.
Maybe it's a network that isn't responding.

Re: Problem with alaska 1.90.355, and stops

Posted: Sat Jun 23, 2018 2:11 pm
by digitsoft
Thanks to everyone for your answers
The issue is that the cpu does not reach or ay 10% and the memory reaches 50% of its use, but that same thing happened to me using DBF, with ALT + C it does not kill is as if the PC does not work now it is more noticeable because I am using SQLExpress with Postgress

Re: Problem with alaska 1.90.355, and stops

Posted: Sat Jun 23, 2018 2:14 pm
by digitsoft
and this does not happen it is always possible that you enter 5 products for sale and in 6 you make the problem.

Re: Problem with alaska 1.90.355, and stops

Posted: Sat Jun 23, 2018 2:48 pm
by digitsoft
the size of my exe is 42MB