Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 352244

Summary: Extremely slow application deploy on 64 bits
Product: [WebTools] WTP ServerTools Reporter: Alex Pires de Camargo <acamargo>
Component: jst.serverAssignee: Steven Hung <sghung>
Status: RESOLVED FIXED QA Contact: Angel Vera <arvera>
Severity: blocker    
Priority: P3 CC: eyuen7
Version: unspecifiedKeywords: helpwanted
Target Milestone: Future   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
properties from eclipse install details.
none
Eclipse project with 1000 properties files
none
Trace file none

Description Alex Pires de Camargo CLA 2011-07-15 14:11:33 EDT
Build Identifier: 20110615-0604 (Indigo)

For larger projects, eclipse indigo (and helios), takes minutes to deploy projects with many files (+-1000), on eclipse 64 bits (with latest 64 bits vm). About 3-4 minutes on a core i7 with 16gigs.

With 32 bits version problem does not occurs. 

Tested with jboss 5.1, and tomcat 7.0 on a flat eclise EE installation without any extra plugin (just tomcat installation).


Reproducible: Always

Steps to Reproduce:
1. Create a simple dynamic web project, with a simple servlet.
2. Create > 1000k files, like simple properties files
3. Try operations like publish and clean on app server.
Comment 1 Alex Pires de Camargo CLA 2011-07-15 14:12:43 EDT
Created attachment 199765 [details]
properties from eclipse install details.
Comment 2 Alex Pires de Camargo CLA 2011-07-15 14:13:35 EDT
Created attachment 199766 [details]
Eclipse project with 1000 properties files
Comment 3 Angel Vera CLA 2012-01-20 16:15:23 EST
Elson, can you look into this bug?
Comment 4 Steven Hung CLA 2012-02-10 13:51:00 EST
Created attachment 210864 [details]
Trace file

I was unable to reproduce this issue with:
- the attached project
- Tomcat 7.0.21
- Windows 7 64bit
- Oracle JDK 1.6.0.30 (64 bit)
- Eclipse 3.7.1 M20110909-1335 with WTP M-3.3.2-20120202015353

When I do a publish or clean, the application is installed in a matter of seconds (less than 5 seconds)

Can you run the test with the .options provided and attach it to the bug? 
1. Put .options file in same directory as your eclipse.exe
2. Run the command: eclipsec.exe -debug > trace.txt 2>&1
3. The resulting trace.txt will be generated in the eclipse directory

Does this issue still occur in newer versions of eclipse, WTP, and/or Oracle JDK?
Comment 5 Alex Pires de Camargo CLA 2012-02-14 13:21:40 EST
Thanks for feedback. I've tested with latest indigo version (20110916-0149) and the problem seems solved.