Recent

Author Topic: Just i Install version 2.0.12 going very slow  (Read 1544 times)

eldonfsr

  • Sr. Member
  • ****
  • Posts: 447
Just i Install version 2.0.12 going very slow
« on: March 20, 2021, 04:13:28 am »
I scare because open lazarus take long time and build lazarus too....

some time take more than 20 minutes to load.....

some idea
thanks

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11455
  • FPC developer.
Re: Just i Install version 2.0.12 going very slow
« Reply #1 on: March 20, 2021, 02:28:06 pm »
Usually antivirus related. Temporarily disable to install, then exclude the lazarus dir and any related dirs from it.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 9904
  • Debugger - SynEdit - and more
    • wiki
Re: Just i Install version 2.0.12 going very slow
« Reply #2 on: March 20, 2021, 04:24:05 pm »
You can run lazarus as
   lazarus.exe --debug-log=path/file.txt

On Windows, you can edit the shortcut to add the argument.

You can then view that file (refresh regulary / or use "tail"  notepad++ can do that "view" menu "monitoring")
This may give some info what is taking time.

Normal starting time is fast. 3 to 5 seconds. If you are opening a large project, maybe up to 20 or 30 seconds.

(Re-)Building the IDE depends on your PC and can take between 1 and 5 minutes (Even my 10 year old PC gets it in 3 minutes)

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 9904
  • Debugger - SynEdit - and more
    • wiki
Re: Just i Install version 2.0.12 going very slow
« Reply #3 on: March 20, 2021, 04:24:51 pm »
What is your OS?

eldonfsr

  • Sr. Member
  • ****
  • Posts: 447
lazarus 2.0.12 open take long open project and app run slow
« Reply #4 on: March 20, 2021, 08:21:52 pm »
Just i download and Install new version of lazarus but i was scare when i open a project take long time to open project, my computer is not old just one year  old is  i7  2.6 mhz and 16 gb ram, I think must run good but not version 2.0.8 open faster than new version, hope some body can help me please.

lazarus 2.0.12 64 bits.

Thanks
 

eldonfsr

  • Sr. Member
  • ****
  • Posts: 447
Re: Just i Install version 2.0.12 going very slow
« Reply #5 on: March 22, 2021, 08:55:24 pm »
my os windows 64

eldonfsr

  • Sr. Member
  • ****
  • Posts: 447
Re: Just i Install version 2.0.12 going very slow
« Reply #6 on: March 22, 2021, 09:42:19 pm »
Here the is dbg information what i can do.....


thanks

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 9904
  • Debugger - SynEdit - and more
    • wiki
Re: Just i Install version 2.0.12 going very slow
« Reply #7 on: March 22, 2021, 10:07:30 pm »
Here the is dbg information what i can do.....

From a first glance, I would say you are missing the database driver (mysql library/dll).

The IDE attempts to open your last project, and that probably has a db component on the form.
It then runs into an exception
Quote
UNRESOLVED BEFORE loading 0 Root=FormFolsDocs:TFormFolsDocs RefRoot=MainForm Refs="MySQLC
SQLT"

To resolve that you probably need to put the required dll into the IDE folder.

But it may also be, that you have to rebuild the IDE once.
Packages are installed by building them in the IDE (we know dynamic would be welcome, at least by some users, but does not exist yet)
So when you upgrade, the IDE needs to be rebuild once, to get all packages back again (they are still in the list of installed, so only rebuild, no need to install them all again).

You can open your IDE with (properties of shortcut)
   --skip-last-project.

Or temporary move the last project to a different folder, so the IDE can not find it.


eldonfsr

  • Sr. Member
  • ****
  • Posts: 447
Re: Just i Install version 2.0.12 going very slow
« Reply #8 on: March 22, 2021, 10:12:46 pm »
Ok let me try that hope thats works...

 

TinyPortal © 2005-2018