Page 1 of 1

[PB 5.00] IncludeBinary times out on compile / run

Posted: Sat Dec 08, 2012 1:11 pm
by Num3
Just got scared with this one :shock: !

I used this data section:

Code: Select all

  img_0: IncludeBinary "..\gfx\arrow-circle-double.png"
  image_1: IncludeBinary "..\gfx\arrow-circle-double-135.png"
  image_2: IncludeBinary "..\gfx\arrow-circle-double.png"
  image_3: IncludeBinary "..\gfx\badge-circle-check-16.png"
  image_4: IncludeBinary "..\gfx\badge-circle-cross-16.png"
  image_5: IncludeBinary "..\gfx\bandaid-small.png"
  image_6: IncludeBinary "..\gfx\bandaid.png"
  image_7: IncludeBinary "..\gfx\bank.png"
  image_8: IncludeBinary "..\gfx\bell.png"
  image_9: IncludeBinary "..\gfx\blue-document-excel-table.png"
  image_10: IncludeBinary "..\gfx\blue-document-invoice.png"
  image_11: IncludeBinary "..\gfx\blue-document-list.png"
  image_12: IncludeBinary "..\gfx\blue-document-pdf-text.png"
  image_13: IncludeBinary "..\gfx\blue-document.png"
  image_14: IncludeBinary "..\gfx\blue-documents-text.png"
  image_15: IncludeBinary "..\gfx\building.png"
  image_16: IncludeBinary "..\gfx\calendar-day.png"
  image_17: IncludeBinary "..\gfx\card-address.png"
  image_18: IncludeBinary "..\gfx\chart-pie.png"
  image_19: IncludeBinary "..\gfx\chart.png"
  image_20: IncludeBinary "..\gfx\check-16.png"
  image_21: IncludeBinary "..\gfx\clipboard-audit-16.png"
  image_22: IncludeBinary "..\gfx\clipboard-list.png"
  image_23: IncludeBinary "..\gfx\clipboard-task.png"
  image_24: IncludeBinary "..\gfx\control-power.png"
  image_25: IncludeBinary "..\gfx\cross-16.png"
  image_26: IncludeBinary "..\gfx\cross-small.png"
  image_27: IncludeBinary "..\gfx\currency-euro.png"
  image_28: IncludeBinary "..\gfx\document-text-image.png"
  image_29: IncludeBinary "..\gfx\drill.png"
  image_30: IncludeBinary "..\gfx\exclamation-small.png"
  image_31: IncludeBinary "..\gfx\exclamation.png"
  image_32: IncludeBinary "..\gfx\eye.png"
  image_33: IncludeBinary "..\gfx\folders-stack.png"
  image_34: IncludeBinary "..\gfx\home.png"
  image_35: IncludeBinary "..\gfx\inbox-download.png"
  image_36: IncludeBinary "..\gfx\inbox-upload.png"
  image_37: IncludeBinary "..\gfx\information-italic.png"
  image_38: IncludeBinary "..\gfx\information.png"
  image_39: IncludeBinary "..\gfx\lock.png"
  image_40: IncludeBinary "..\gfx\magnifier.png"
  image_41: IncludeBinary "..\gfx\printer.png"
  image_42: IncludeBinary "..\gfx\question.png"
  image_43: IncludeBinary "..\gfx\receipt-invoice.png"
  image_44: IncludeBinary "..\gfx\report--pencil.png"
  image_45: IncludeBinary "..\gfx\scanner.png"
  image_46: IncludeBinary "..\gfx\sitemap.png"
  image_47: IncludeBinary "..\gfx\status-away.png"
  image_48: IncludeBinary "..\gfx\status-busy.png"
  image_49: IncludeBinary "..\gfx\status-offline.png"
  image_50: IncludeBinary "..\gfx\status.png"
  image_51: IncludeBinary "..\gfx\sticky-note-pin.png"
  image_52: IncludeBinary "..\gfx\sticky-notes-pin.png"
  image_53: IncludeBinary "..\gfx\telephone-fax.png"
  image_54: IncludeBinary "..\gfx\telephone-handset-wire.png"
  image_55: IncludeBinary "..\gfx\tick-small-red.png"
  image_56: IncludeBinary "..\gfx\tick-small-white.png"
  image_57: IncludeBinary "..\gfx\tick-small.png"
  image_58: IncludeBinary "..\gfx\user-silhouette-question.png"
  image_59: IncludeBinary "..\gfx\warning-16.png"
  image_60: IncludeBinary "..\gfx\warning-24.png"
  image_61: IncludeBinary "..\gfx\wrench-screwdriver.png"
And most of the times the compiler times out "The debugger executable did not respond to communication for more than 10 seconds", i've tested it out and it compiles fast enough with up to 20 includes, more than that and it slows down like hell.

Strange enough when "Compiling" to executable it's instantaneous !!!

--EDIT--

The total size of all those images is just 46Kb, so it's not related to that.

Re: [PB 5.00] IncludeBinary times out on compile / run

Posted: Sat Dec 08, 2012 1:46 pm
by Fred
Antivirus ?

Re: [PB 5.00] IncludeBinary times out on compile / run

Posted: Sat Dec 08, 2012 1:54 pm
by Num3
Checked!

MS Security Essentials runs Antimalware Service on the background and it was slowing it down :mrgreen: had to include polink, polib, fasm, porc in exclusion list ...

Re: [PB 5.00] IncludeBinary times out on compile / run

Posted: Sat Dec 08, 2012 3:53 pm
by Michael Vogel
The super-high-speed-kaspersky-active-program-test even doesn't need to do something in the background to guarantee immense delay to the compile/run mechanism.

But the chance to get this annoying delay depends on which functions are used in the program, but also, if debugging is enabled or not. As I don't know how to avoid all PB functions which could frustrate mr.kaspersky, I disable debugging whenever possible.

Re: [PB 5.00] IncludeBinary times out on compile / run

Posted: Sat Dec 08, 2012 4:02 pm
by IdeasVacuum
Don't disable debugging, disable Kaspersky!