-
Notifications
You must be signed in to change notification settings - Fork 131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fishtest displays memory and config file error after using Lenovo Vantage memory cleanup; restart already tried #2153
Comments
I deleted your fishtest.txt file since it included your password... please change it nonetheless |
Everything seems to be fine with your configfile. I guess something is wrong with how the worker determines the amount of memory. This is the powershell command the worker uses (Get-CimInstance Win32_OperatingSystem).TotalVisibleMemorySize*1024 Perhaps you can try it directly? |
It works fine when I try it (it outputs 68,305,674,240) but Fishtest still doesn't work. |
Hmm. That is strange. Can you rename the config file and restart the worker? Then it will create a new config file (it will ask for your username and password again, if you don't provide it on the command line). |
It still displays the same error after I tried that. |
Ok. I wanted to exclude that the config file was somehow corrupted. Unfortunately the only way to make progress seems to be to use an instrumented |
What do you mean? |
That I post a file |
If you want to, you can replace On my system the output looks as follows:
|
This is the output:
|
I'm not sure what the detected memory value is supposed to be but it seems far too low (32 bytes compared to 64GB system memory) |
Yes. So despite the powershell command giving the right answer, the worker still detects the amount of memory incorrectly. We will have to dig a bit deeper. |
I suspect these lines are the culprit
I think the regular expression does not parse the output of the powershell command correctly. Can you give the full output of the powershell command?
|
|
That's strange. Does it really only print this? Nothing more? |
yes |
Ok. There is still a possibility that somehow the command gives something different when executed by the worker. I will make a new version of worker.py with some extra test prints. |
Ok here is a new instrumented version On my system it prints
|
So it is a windows configuration issue. I found this... https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_execution_policies?view=powershell-7.4 I have no idea how Windows knows that the worker has been downloaded from the internet. I assume you have to set the execution policy to unrestricted (possibly with a limited scope). Maybe @ppigazzini knows more... |
Fishtest has worked fine for me for a while, until I used Lenovo Vantage's memory cleanup feature (while fishtest was not running). Since then, every time I have tried to open fishtest it shows an error about reserved memory and it says the config file is not written (even if it is).
I don't know if this helps, but here is the system info:
Intel Core Ultra 185H
64 GB RAM
NVIDIA RTX 4070 Mobile Graphics Card (8 GB)
Note: I have tried recreating the worker multiple times and it still doesn't work. I have converted the .config file to a .txt file so it can be uploaded.
fishtest.txt

The text was updated successfully, but these errors were encountered: