Bug 352244 - Extremely slow application deploy on 64 bits
Summary: Extremely slow application deploy on 64 bits
Status: RESOLVED FIXED
Alias: None
Product: WTP ServerTools
Classification: WebTools
Component: jst.server (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 blocker with 5 votes (vote)
Target Milestone: Future   Edit
Assignee: Steven Hung CLA
QA Contact: Angel Vera CLA
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2011-07-15 14:11 EDT by Alex Pires de Camargo CLA
Modified: 2012-02-14 13:21 EST (History)
1 user (show)

See Also:


Attachments
properties from eclipse install details. (5.01 KB, text/plain)
2011-07-15 14:12 EDT, Alex Pires de Camargo CLA
no flags Details
Eclipse project with 1000 properties files (7.45 KB, application/octet-stream)
2011-07-15 14:13 EDT, Alex Pires de Camargo CLA
no flags Details
Trace file (619 bytes, application/octet-stream)
2012-02-10 13:51 EST, Steven Hung CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.