java - Ant build makes disk used up to 100% -
i sorting out ways increase speed of ant building job.
my project contains hundreds of java classes, each ant job of jar building tomcat requires me 1 2 mins.
and discovered whenever ant building job being executed, disk percentage on windows task manager boost 100%.
i use collegue's computer try, using same version of ant, tomcat, , jdk on same project, @ meantime 10 secs used building jar in computer. opened task manager, discovered disk percentage boosted up, 9x%.
but in case, it's 100%.
is there way lower disk usage during ant building? or there other way improve ant build speed?
i know not satisfying answer, it's ant hits specs of machine. if feels slow user, means machine specs underpowered development tasks.
i not know if cached i/o appears i/o in windows task manager, in case means i/o slower ant (cpu). still using rotational storage? maybe replace ssd.
also check if you're running out of ram. if run out of ram, i/o increases due page swapping. if run out of ram, increase ram. developer machine, i'd 2 gib minimum on linux/arm, 4 gib on linux/i386, 8 gib on linux/x64 or mac os x , 16 gib on windows. note of course subjective rule of thumb guideline, , depending on do, less might sufficient or more might required.
Comments
Post a Comment