DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42742>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42742

           Summary: big Ant/Ivy builds run out of permanent memory.
                    Classloader leaks?
           Product: Ant
           Version: 1.7.0
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
        AssignedTo: dev@ant.apache.org
        ReportedBy: [EMAIL PROTECTED]


as you can see from , http://jira.smartfrog.org/jira/browse/SFOS-167 , we've
been running out of PermGenHeapSpace on windows (XP and vista) builds. We have a
workaround for this (increase the permgen heap size in ANT_OPTS), but the
problem remains.

PermGenHeapSpace is where the JVM keeps
 -intern'd strings
 -loaded classes and all the introspection stuff
By the end of a (working) build, we had 4000+ classes loaded, which is quite a 
lot.

What I'm wondering is are antlibs and taskdefs somehow leaking classloaders and
hence classes. all our (15+) child projects are designed to run standalone, so
use ivy via antlib declarations and taskdef ivy and smartfrog explicitly.

I could add more checks before declaring stuff, but fear there may be some
fundamental leaking of stuff that big ivy cross-project builds is showing up

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to