pyautogui code not working in 4gb ram pc,but working fine with 8gb ram
See original GitHub issuein my python code i will provide a specific part of window screenshot image which i want to detect and if this image not found in screen then it will press some button
while(True):
element = pg.locateOnScreen(target_image)
if(element!=None):
print('Visible')
else:
press_button()
The logic is that simple,but in 4gb ram(core i3) computer the code taking too long to run,but in 8gb ram(core i5) the code working perfectly
I am not getting why this is hapenning,it’s just few lines of code. Should i have to upgrade the hardware or there is any way to simplify code for lower end computer?
If anyone have any idea,please let me know.
Thank you
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:6
Top Results From Across the Web
why does my pyautogui code not works good - Stack Overflow
the problem when I add another action ,which is I want the mouse move to the position of the image. the script works...
Read more >PyAutoGUI 0.9.53 - PythonFix.com
PyAutoGUI lets Python control the mouse and keyboard, and other GUI ... code not working in 4gb ram pc,but working fine with 8gb...
Read more >I have 8GB of RAM but only showing 4GB - Microsoft Community
I checked nvidia and it was all fine so I checked how much memory I was using and it says 3.7 of 4GB....
Read more >Is 8GB RAM enough for a programmer that does some light ...
Is a Core i3 processor and 4GB RAM laptop good enough for web development? ... If you're working on a computer 9–5, 5...
Read more >Is 4 gb ram enough for programming? - Sololearn
I'd recommend 8GB, maybe as a single RAM stick so you can upgrade to 16 later ... which okay would use 2 slot...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Honestly, if anything, it just might be that you are on a 32-bit system.
Your issue is most likely unrelated to your RAM size.