Recent

Author Topic: PC slows down terribly  (Read 7114 times)

WJSwanepoel

  • New Member
  • *
  • Posts: 25
PC slows down terribly
« on: August 28, 2017, 10:55:30 am »
Good day,
If I use Lazarus on my PC for a while writing and testing programs, my PC slows down terribly. It often even gets to the stage where it takes 20-40 seconds for a program like MS Word to start up. At times I cannot even use the internet: I type in a search in Google and it never comes back to me.

I use Windows 10.

Thaddy

  • Hero Member
  • *****
  • Posts: 18764
  • To Europe: simply sell USA bonds: dollar collapses
Re: PC slows down terribly
« Reply #1 on: August 28, 2017, 11:00:26 am »
- 1: check for malware and virus first.
- 2: there are no unknown leaks (atm)
- 3: do you have any FPC compiled code running? Plz provide example to reproduce your issue.
If Europe sells their USA bonds the USD will collapse. Europe can affort that given average state debts. The USA can't affort that. Just an advice...

tudi_x

  • Hero Member
  • *****
  • Posts: 532
Re: PC slows down terribly
« Reply #2 on: August 28, 2017, 11:01:37 am »
How much RAM do you have free?
Lazarus 2.0.2 64b on Debian LXDE 10

WJSwanepoel

  • New Member
  • *
  • Posts: 25
Re: PC slows down terribly
« Reply #3 on: August 28, 2017, 11:10:35 am »
I have 4GB RAM on the PC.

I have nor viruses or malware. I simply reboot and the PC speed is back to normal.

rvk

  • Hero Member
  • *****
  • Posts: 6948
Re: PC slows down terribly
« Reply #4 on: August 28, 2017, 11:16:25 am »
Check the number of files in the temporary file directories.
i.e. C:\Windows\Temp and %temp%
If too many, delete some (which you can delete).

Next... run the task manager at the side (with more details") and check it when the computer becomes slow. Sort on CPU so you can see which process comes at the top.

WJSwanepoel

  • New Member
  • *
  • Posts: 25
Re: PC slows down terribly
« Reply #5 on: August 28, 2017, 11:22:06 am »
Thanks, will do that.

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 12706
  • FPC developer.
Re: PC slows down terribly
« Reply #6 on: August 28, 2017, 01:06:30 pm »
It might also simply be that Lazarus triggers the antivirus which then nearly  eats up all resources when it starts scanning Lazarus vast directories and the large lazarus.exe binary

Excluding lazarus directories from the antivirus then gives some release.

Blaazen

  • Hero Member
  • *****
  • Posts: 3241
  • POKE 54296,15
    • Eye-Candy Controls
Re: PC slows down terribly
« Reply #7 on: August 28, 2017, 01:58:55 pm »
Isn't it swapping? 4GB is good but Win10+Lazarus+GDB+browser+Office+... may eat many memory. Especially if you have classic rotary HDD.
Lazarus 2.3.0 (rev main-2_3-2863...) FPC 3.3.1 x86_64-linux-qt Chakra, Qt 4.8.7/5.13.2, Plasma 5.17.3
Lazarus 1.8.2 r57369 FPC 3.0.4 i386-win32-win32/win64 Wine 3.21

Try Eye-Candy Controls: https://sourceforge.net/projects/eccontrols/files/

Josh

  • Hero Member
  • *****
  • Posts: 1454
Re: PC slows down terribly
« Reply #8 on: August 28, 2017, 02:05:03 pm »
Hi

If you open task manager, which process is consuming the memory.

Firfox and other Internet Browsers can cause huge amounts of memory consumption, I find firfox can consume many GB of RAM when multiple tabs are open.

The best way to get accurate information on the forum is to post something wrong and wait for corrections.

valdir.marcos

  • Hero Member
  • *****
  • Posts: 1143
Re: PC slows down terribly
« Reply #9 on: August 28, 2017, 03:36:33 pm »
Good day,
If I use Lazarus on my PC for a while writing and testing programs, my PC slows down terribly. It often even gets to the stage where it takes 20-40 seconds for a program like MS Word to start up. At times I cannot even use the internet: I type in a search in Google and it never comes back to me.

I use Windows 10.

I have 4GB RAM on the PC.

I have nor viruses or malware. I simply reboot and the PC speed is back to normal.

Windows 10 needs from 2.5 to 3.0gb of RAM just for OS, then any browser might easily consume from 1 to 4gb of memory depending on how many tabs/sites you have opened simultaneously.
Try paying attention to your Task Manager, especially on the Performance tab:
https://www.howtogeek.com/108742/how-to-use-the-new-task-manager-in-windows-8/
https://www.windowscentral.com/how-identify-and-terminate-high-resource-processes-using-task-manager-windows-10
https://www.windowscentral.com/task-manager-optimize-your-windows-10-experience

If you can, it would be a good idea to increase your Windows 10 memory.

sam707

  • Guest
Re: PC slows down terribly
« Reply #10 on: August 28, 2017, 05:32:01 pm »
I also recommend to clean your browsers by using ZHPCleaner

Only get it from Coolman's pages, you might find other free downloads of it around, but some are infected

Official Link >> >> https://www.nicolascoolman.com/download/zhpcleaner/

I thought I was safe and fast, by using both CCleaner and GlaryUtilities (+trend micro platinium avirus 'maximum security') for years and years on my windobe computers... then I tried randomly ZHPCleaner, and it removed about 200 more backspies and swatters in ten minutes on each windobe computers I own.
« Last Edit: August 28, 2017, 05:43:14 pm by sam707 »

sam707

  • Guest
Re: PC slows down terribly
« Reply #11 on: August 28, 2017, 05:39:23 pm »
due to its look and feel UI, I guess ZHPCleaner is from french (touch) Delphi world  :-X

wp

  • Hero Member
  • *****
  • Posts: 13401
Re: PC slows down terribly
« Reply #12 on: August 28, 2017, 05:46:03 pm »
[..] using both CCleaner and GlaryUtilitie

I never saw any benefit in such tools, on the contrary many things did not work any more after using them.

How old is your PC? Which kind of disk do you use, conventional magentic HD or SSD? A 10-year-old notebook, Win 7, 4GB, HD, showed similar symptoms to yours. I bought a low-price 500GB SSD and replaced the old HD with it - now the notebook is at an acceptable speed.

sam707

  • Guest
Re: PC slows down terribly
« Reply #13 on: August 28, 2017, 05:53:00 pm »
@wp
my pc?

you should have say my pcS

I own about 10 pcS and 4 lappies, the older one runs XP pro 64bits edition (rare)

the newer oneS are from last 2 years. and my laptops from the year

I do not see the point around benefit you did not find. As a saying ""bad workers always complain it is from the tools faults"

If you know EXACTLY how to adjust a tool IT will give you all the 'benefits' you are expecting

If you can't know, then you eventually miss a turn and bend to Chaos, yup!
« Last Edit: August 28, 2017, 05:57:16 pm by sam707 »

wp

  • Hero Member
  • *****
  • Posts: 13401
Re: PC slows down terribly
« Reply #14 on: August 28, 2017, 06:00:45 pm »
my pc?
No, this question was directed to the OP.

@sam707: You seem to be an experienced PC user, therefore these optimization tools may be helpful. My warning is for the unexperienced users: Don't use them.

 

TinyPortal © 2005-2018