1. sharath r
  2. PowerBuilder
  3. Thursday, 10 September 2020 19:14 PM UTC

Hi All,

I am facing an issue where a particular object takes over 2.5 hours to regenerate. This is causing issues during compiling as well. The object is fairly complex with over 10000 lines of code which has been migrated from v9 over the years.

There are no errors observed and CPU activity seems normal. No unusual spikes observed.

The object was regenerating/compiling normally until recently. No changes were made to the code.

Any idea, how to determine what is causing this unusually long time ?!

 

 

 

Michael Kramer Accepted Answer Pending Moderation
  1. Monday, 14 September 2020 00:01 AM UTC
  2. PowerBuilder
  3. # 1

Hi Sharath, on your DEV machine where PB compile is slower than expected - >

  • What PowerBuilder version are you using?
  • What O/S version?
  • What antivirus system are you using?

/M

Comment
There are no comments made yet.
Roland Smith Accepted Answer Pending Moderation
  1. Sunday, 13 September 2020 17:46 PM UTC
  2. PowerBuilder
  3. # 2

I would optimize all libraries in the target.

There might be a corrupted object that is putting the compiler into a loop.

 

Comment
There are no comments made yet.
Kevin Ridley Accepted Answer Pending Moderation
  1. Saturday, 12 September 2020 17:59 PM UTC
  2. PowerBuilder
  3. # 3

You can also try exporting the object, deleting and importing it again.

Comment
There are no comments made yet.
Miguel Leeuwe Accepted Answer Pending Moderation
  1. Saturday, 12 September 2020 03:28 AM UTC
  2. PowerBuilder
  3. # 4

Also, as stupid as it might sound, check your Libary list. It happened to me once that I had the full list duplicated! That would explain a "sudden" increase in compile time.

regards

Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Thursday, 10 September 2020 19:27 PM UTC
  2. PowerBuilder
  3. # 5

Hi Sharath;

   I have had this issue before in both PB and PS compiles. Turned out that it was my "Windows Defender" AV  in W10 and I had to put in an exclusion on various folders as the AV was looking at every temporary file the SCM, IDE, Compiler and Link Editor was writing ...

Example:

  Now sure if that might be your issue but, might be worth a quick try (ie: just disabling the AV for a quick test first). Food for thought.

HTH

Regards ... Chris

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.