Runtime error 217 at 00407183

Message boards : Number crunching : Runtime error 217 at 00407183
Message board moderation

To post messages, you must log in.

AuthorMessage
vaughan

Send message
Joined: 25 Jul 23
Posts: 15
Credit: 2,463,629
RAC: 2,530
Message 238 - Posted: 5 Aug 2023, 2:16:12 UTC

Getting this error pop up and task crash with computation error on Windows 10 64-bit.
ID: 238 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Demis
Project tester
Volunteer developer
Volunteer tester

Send message
Joined: 14 Jun 23
Posts: 205
Credit: 1,752,100
RAC: 16,916
Message 240 - Posted: 5 Aug 2023, 4:45:01 UTC - in response to Message 238.  

Is this happening on the same computer?
Can you show a link to such a task with a problem?
ID: 240 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Demis
Project tester
Volunteer developer
Volunteer tester

Send message
Joined: 14 Jun 23
Posts: 205
Credit: 1,752,100
RAC: 16,916
Message 256 - Posted: 5 Aug 2023, 20:59:57 UTC - in response to Message 238.  

Do you have new information on your question?
ID: 256 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
vaughan

Send message
Joined: 25 Jul 23
Posts: 15
Credit: 2,463,629
RAC: 2,530
Message 267 - Posted: 6 Aug 2023, 23:40:04 UTC

I stopped running the project and have forgotten which computer had this problem.
I will restart the project when the awarding of stats for completed tasks is fixed. (You know, the second task gets abandoned issue)
ID: 267 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Fardringle

Send message
Joined: 17 Jun 23
Posts: 9
Credit: 5,702,774
RAC: 60
Message 268 - Posted: 7 Aug 2023, 1:05:00 UTC - in response to Message 267.  
Last modified: 7 Aug 2023, 1:05:14 UTC

I stopped running the project and have forgotten which computer had this problem.
I will restart the project when the awarding of stats for completed tasks is fixed. (You know, the second task gets abandoned issue)


That is not happening any more.
ID: 268 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
vaughan

Send message
Joined: 25 Jul 23
Posts: 15
Credit: 2,463,629
RAC: 2,530
Message 327 - Posted: 18 Aug 2023, 13:32:54 UTC

I tracked down the computer having the problems - a Lenovo Y540 laptop running an Intel 9750H CPU with 32 GB DDR4 RAM and Windows 10 Enterprise 64-bit.
The tasks crash when all cores are being used and the project consumes all the RAM.
ID: 327 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Demis
Project tester
Volunteer developer
Volunteer tester

Send message
Joined: 14 Jun 23
Posts: 205
Credit: 1,752,100
RAC: 16,916
Message 328 - Posted: 18 Aug 2023, 22:33:53 UTC - in response to Message 327.  

I tracked down the computer having the problems - a Lenovo Y540 laptop running an Intel 9750H CPU with 32 GB DDR4 RAM and Windows 10 Enterprise 64-bit.
The tasks crash when all cores are being used and the project consumes all the RAM.

Very good.
Thanks for the detailed description.

I have a guess why this is happening.

But first, I will share my experience of working on Windows systems when many very difficult tasks are running.
(This experience is outside the operation of boinc systems).

Windows systems really do not like 100% load, although in principle they cope very well with it.
The most excellent results are, of course, server systems.
But they are significantly more expensive.
But what about ordinary users, on ordinary systems?

While performing heavy tasks over the years (for example, network rendering on a group of computers),
I periodically encountered problems with thread congestion.

What solution to the problem did I find?
Everything is very simple.

Just need to change the default settings of the memory manager,
but only for a specific application and reduce the number of available CPU time slices for the application.

And Windows systems can do it.

The Microsoft website has detailed instructions on how to do this.
These recommendations have changed little since 1997 (that's when the Titanic movie was rendered, if you remember such a movie).

How to do it?
You need to apply a registry setting.
For example:
REGEDIT4

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\spt_300_windows_x86_64.exe\PerfOptions]
"CpuPriorityClass"=dword:00000005

ATTENTION! You must be very clear about what you are doing!
This is just as an example.

Can this be done in some other way?
Yes! Can.

Now let's get back to the boink application.

In the boinc manager, you need to decrease the value:
"Use at most 100% of the CPUs and at most 100% CPU time"

for example, to this value:
"Use at most 60% of the CPUs and at most 60% CPU time".

And that's it.

Earlier, I wrote somewhere here on the forum that the application uses a matrix of values with the help of the primesieve library.
It is she who now occupies 1GB of memory (this value will increase as we approach higher numbers in the search).
But the application itself consumes very few resources to find the values we need within this matrix.
ID: 328 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Natalia Makarova
Volunteer moderator
Project administrator
Project developer
Project tester
Avatar

Send message
Joined: 14 Jun 23
Posts: 323
Credit: 280,293
RAC: 0
Message 329 - Posted: 19 Aug 2023, 0:01:11 UTC - in response to Message 328.  

It is she who now occupies 1GB of memory

As far as I remember, Belyshev's program used to require 500 MB of RAM.

2)
this value will increase as we approach higher numbers in the search

Why?
As the range increases, the number of primes decreases.
Therefore, the array of primes generated by primesieve will be smaller.
ID: 329 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote

Message boards : Number crunching : Runtime error 217 at 00407183

©2024 Natalia Makarova & Alex Belyshev & Tomáš Brada