Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

[MyEclipse] clean and build takes really long time

 
Ranch Hand
Posts: 541
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
MyEclipse Enterprise Workbench

Version: 10.7.1
Build id: 10.7.1-20130201

This is what myeclipse.ini has,
-vmargs
-Xmx2048m
-XX:MaxPermSize=1024m
-XX:ReservedCodeCacheSize=256m
-Dosgi.nls.warnings=ignore

I have Windows 7 (64 bit) with 8GB RAM.
Clean + Build takes 4.15 minutes and then building a WAR takes about 2.22 minutes. That's over 6 and half minutes. This is development machine and I need it to be fast.

What areas I can look into? Assigning more memory to eclipse?
 
Sheriff
Posts: 4870
317
IntelliJ IDE Python Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Must be a pretty big project you're building?
 
Saurabh Pillai
Ranch Hand
Posts: 541
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't have the file count but the WAR size is more than 150MB. Do you also use MyEclipse?
 
Tim Cooke
Sheriff
Posts: 4870
317
IntelliJ IDE Python Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Saurabh Pillai wrote:Do you also use MyEclipse?


No, I'm an IntelliJ user. I also don't use my IDE to build the war either.

Is your project using a build tool? Such as Gradle, Maven, Ant, Make? Have you tried building the war with that tool to see if there's a significant difference in time taken?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    Bookmark Topic Watch Topic
  • New Topic