Message "Delete all widget libraries." takes long time, why?

With large mappView project, during compilation AS shows message “Delete all widget libraries.” for long time → 3 minutes. Project and AS on defender whitelist.

obrazek

What is causing that?

Hi @Vratislav

I’m not sure that’s the “Delete all widget libraries” that is taking long time, sometimes in the AS Compillation the messages displayed in the Output is display at the end of the action.
I don’t know for this specific message but maybe you can use the compilation option “-profile” in the additionnal build option to check timing.

Regards,
Florent

Hi, here is result:

# Category Date/Time Description Error Position File
862 Message 03.04.2026 19:38:55,1844 Delete all widget libraries.
863 Message 03.04.2026 19:38:57,4243 Creating build object model wrapper and files structure terminated at 19:38:57 (2333,5733 ms)
864 Message 03.04.2026 19:38:57,4843 Creating builder started at 19:38:57
865 Message 03.04.2026 19:38:57,8602 Creating Visualization rules started at 19:38:57
866 Message 03.04.2026 19:38:57,9459 Creating Visualization rules terminated at 19:38:57 (16,2333 ms).
867 Message 03.04.2026 19:38:57,9479 Creating Page rules started at 19:38:57
868 Message 03.04.2026 19:38:57,9537 Creating Page rules terminated at 19:38:57 (0 ms).
869 Message 03.04.2026 19:38:57,9557 Creating Dialog rules started at 19:38:57
870 Message 03.04.2026 19:38:57,9557 Creating Page rules terminated at 19:38:57 (14,4421 ms).
871 Message 03.04.2026 19:38:57,9577 Creating Navigation rules started at 19:38:57
872 Message 03.04.2026 19:38:57,9577 Creating Navigation rules terminated at 19:38:57 (0 ms).
873 Message 03.04.2026 19:38:57,9597 Creating Layout rules started at 19:38:57
874 Message 03.04.2026 19:38:57,9597 Creating Layout rules terminated at 19:38:57 (15,7626 ms).
875 Message 03.04.2026 19:38:57,9617 Creating Content rules started at 19:38:57
876 Message 03.04.2026 19:38:57,9637 Creating Content rules terminated at 19:38:57 (41,2577 ms).
877 Message 03.04.2026 19:38:57,9717 Creating Bindings Set rules started at 19:38:57
878 Message 03.04.2026 19:38:59,0374 Creating Bindings Set rules terminated at 19:38:59 (1065,6983 ms).
879 Message 03.04.2026 19:38:59,1066 Creating Binding Lists Set rules started at 19:38:59
880 Message 03.04.2026 19:38:59,1120 Creating Binding Lists Set rules terminated at 19:38:59 (0 ms).
881 Message 03.04.2026 19:38:59,1227 Creating Event Bindings Set rules started at 19:38:59
882 Message 03.04.2026 19:38:59,1331 Creating Event Bindings Set rules terminated at 19:38:59 (5,4785 ms).
883 Message 03.04.2026 19:38:59,1331 Creating Expression Types rules started at 19:38:59
884 Message 03.04.2026 19:38:59,1331 Creating ExpressionTypes Set rules terminated at 19:38:59 (0 ms).
885 Message 03.04.2026 19:38:59,1384 Creating Expressions rules started at 19:38:59
886 Message 03.04.2026 19:38:59,1384 Creating Expressions rules terminated at 19:38:59 (0 ms).
887 Message 03.04.2026 19:38:59,1442 Creating Themes rules started at 19:38:59
888 Message 03.04.2026 19:38:59,1442 Creating Themes rules terminated at 19:38:59 (10,829 ms).
889 Message 03.04.2026 19:38:59,1442 Creating Styles Set rules started at 19:38:59
890 Message 03.04.2026 19:38:59,1442 Creating Styles Set rules terminated at 19:38:59 (0 ms).
891 Message 03.04.2026 19:38:59,1442 Creating Styles Set rules started at 19:38:59
892 Message 03.04.2026 19:38:59,1545 Creating Styles Set rules terminated at 19:38:59 (0 ms).
893 Message 03.04.2026 19:38:59,1545 Creating Styles rules started at 19:38:59
894 Message 03.04.2026 19:38:59,2081 Creating Styles rules terminated at 19:38:59 (128,2936 ms).
895 Message 03.04.2026 19:38:59,2188 Creating Themes CSS rules started at 19:38:59
896 Message 03.04.2026 19:38:59,2188 Creating Themes CSS rules terminated at 19:38:59 (10,7879 ms).
897 Message 03.04.2026 19:38:59,2294 Creating Variables Set rules started at 19:38:59
898 Message 03.04.2026 19:38:59,2294 Creating Variables Set rules terminated at 19:38:59 (0 ms).
899 Message 03.04.2026 19:38:59,2402 Creating Snippets Set rules started at 19:38:59
900 Message 03.04.2026 19:38:59,3148 Creating Snippets Set rules terminated at 19:38:59 (1,0062 ms).
901 Message 03.04.2026 19:39:00,8756 Creating builder terminated at 19:39:00 (3452,2798 ms)
902 Message 03.04.2026 19:39:00,9396 Writing mappView MAKE files started at 19:39:00
903 Message 03.04.2026 19:39:00,9556 Writing mappView MAKE files terminated at 19:39:00 (80,0705 ms)
904 Message 03.04.2026 19:39:00,9556 The mapp View builder terminated at 19:39:00 (5882,6276 ms).
905 Message 03.04.2026 19:39:05,6497 BR.AS.BuildFrame - Project C:\xxxxx\xxxx.apj has been opened.
906 Message 03.04.2026 19:41:38,5458 PROFILE Check Symbol Maps 165125 ms
907 Message 03.04.2026 19:41:38,6149 PROFILE Creating symbol maps … 165323 ms
908 Message 03.04.2026 19:41:38,9113 Generating header files …

Hi,

I think it’s more this line that takes time, mapp View take around 6 seconds, I think it’s something else in your project. Maybe you have big libraries?

what is it? Is it mandatory or could be switched off?

If I’m right, it’s the mapping of your variables in memory, it’s a linker process so you cannot disable it

ok. i will check it wit cz support. thanks

Update this post, i’m curious to know what was the problem :slight_smile: