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

Bug 96208

Summary: Generic server publishing causes out-of-memory exceptions
Product: [WebTools] WTP ServerTools Reporter: Naci Dai <naci.dai>
Component: jst.serverAssignee: Gorkem Ercan <gorkem.ercan>
Status: CLOSED FIXED QA Contact:
Severity: critical    
Priority: P3 CC: jeffliu
Version: 0.7   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Naci Dai CLA 2005-05-21 04:10:51 EDT
Publishing with gereric servers causes out-of-memory exceptions after a couple
of republishing sequences.

This is probably due to the use of internal AntRunner.  Ant has a bug, which
prevents it from garbage collection classes that are loaded with each run.  This
memory leak accumulates very quickly especially when ant publishing uses
external admin tools (i.e. jonas / weblogic etc.)

The solution is to switch to AntLuancher, which will release the memory once the
publish sequence is completed.

I will swicth the launcher used by Generic Servers.
Comment 1 Gorkem Ercan CLA 2005-05-22 08:59:25 EDT
Yes, as we have talked I am aware of that and I will drop the fix for it with
some other changes.
Comment 2 Gorkem Ercan CLA 2005-05-26 18:05:43 EDT
The fix is in the HEAD, AntPublisher uses the AntLaunchConfiguration instead of
the problematic AntRunner now.
Comment 3 David Williams CLA 2005-06-15 01:32:36 EDT
Changed Version field given new release numbering.
Comment 4 Naci Dai CLA 2005-07-05 13:49:16 EDT
verified
Comment 5 Tim deBoer CLA 2005-07-26 09:38:00 EDT
Closing