cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ant clean all takes 45 minutes

manickarajm
Explorer
0 Likes
1,982

Hi, The ant clean all command takes a whopping 45 minutes.

I have a Dell Precision laptop (Core i7, 8th gen) windows 10 Enterprise

However this slowness observed recently (a week ago onward). I have gone back to earlier stage of windows (uninstalled all the software/programs did recently).

Antivirus is running but seems taking less CPU/memory. Disk read/write also seems to be fine

Any pointer/ideas to improve this would be really grateful.

Thanks, k

Accepted Solutions (0)

Answers (3)

Answers (3)

mpern
Product and Topic Expert
Product and Topic Expert
0 Likes

Try putting your source inside a linux VM and build there. Average performance improvement is about 100% (no, I'm not joking)

andyfletcher
Active Contributor
0 Likes

I haven't tried in a actual VM but you inspired me to try in WSL (Debian) It's 20% faster.

avg. 2m 20s from Windows command prompt

vs

avg. 1m 55s from the WSL Debian bash shell

Good to know! Think I'll be changing how I run my builds.

mpern
Product and Topic Expert
Product and Topic Expert
0 Likes

FYI, the server startup is also significantly faster under linux. e.g. hybris 18.08, full b2c_acc recipe in under a minute. When I should I get my coffee now?? :P

Marko_salonen
Contributor
0 Likes

Could it be that you have some maven tasks or alike that are stuck in a request somewhere that can not be accessed? Or something else that needs a external request? Does it get stuck in some specific place?

g_madhava1
Explorer
0 Likes

Try disabling antivirus, and see if that improves Also SSD drive ? Generally we have noticed that Mac/Linux is better suited for Hybris development