hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-5561) Javadoc-dev ant target runs out of heap space
Date Tue, 24 Mar 2009 19:35:50 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-5561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12688817#action_12688817
] 

Steve Loughran commented on HADOOP-5561:
----------------------------------------

would recommend having an Ant property javadoc.memory that is set to 512m in the build file,
but can be overridden by people with problems (or 64 bit JVMs) without having to patch the
build file. It could also be used by all build files

> Javadoc-dev ant target runs out of heap space
> ---------------------------------------------
>
>                 Key: HADOOP-5561
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5561
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: build
>         Environment: OSX with 4gb of RAM
>            Reporter: Jakob Homan
>            Assignee: Jakob Homan
>         Attachments: HADOOP-5561.patch
>
>
> The default configuration for the ant task javadoc-dev does not specify a maxmemory and,
after churning for a while, fails with an OOM exception:
> {noformat}
> [javadoc] Constructing Javadoc information...
> [javadoc] Standard Doclet version 1.6.0_07
> [javadoc] Building tree for all the packages and classes...
> [javadoc] java.lang.OutOfMemoryError: Java heap space
> [javadoc] 	at java.util.LinkedHashMap.createEntry(LinkedHashMap.java:424)
> [javadoc] 	at java.util.LinkedHashMap.addEntry(LinkedHashMap.java:406)
> [javadoc] 	at java.util.HashMap.put(HashMap.java:385)
> [javadoc] 	at sun.util.resources.OpenListResourceBundle.loadLookup(OpenListResourceBundle.java:118)
> [javadoc] 	at sun.util.resources.OpenListResourceBundle.loadLookupTablesIfNecessary(OpenListResourceBundle.java:97)
> [javadoc] 	at sun.util.resources.OpenListResourceBundle.handleGetObject(OpenListResourceBundle.java:58)
> [javadoc] 	at sun.util.resources.TimeZoneNamesBundle.handleGetObject(TimeZoneNamesBundle.java:59)
> [javadoc] 	at java.util.ResourceBundle.getObject(ResourceBundle.java:378)
> [javadoc] 	at java.util.ResourceBundle.getObject(ResourceBundle.java:381)
> [javadoc] 	at java.util.ResourceBundle.getStringArray(ResourceBundle.java:361)
> [javadoc] 	at sun.util.TimeZoneNameUtility.retrieveDisplayNames(TimeZoneNameUtility.java:100)
> [javadoc] 	at sun.util.TimeZoneNameUtility.retrieveDisplayNames(TimeZoneNameUtility.java:81)
> [javadoc] 	at java.util.TimeZone.getDisplayNames(TimeZone.java:399)
> [javadoc] 	at java.util.TimeZone.getDisplayName(TimeZone.java:350)
> [javadoc] 	at java.util.Date.toString(Date.java:1025)
> [javadoc] 	at com.sun.tools.doclets.formats.html.markup.HtmlDocWriter.today(HtmlDocWriter.java:337)
> [javadoc] 	at com.sun.tools.doclets.formats.html.HtmlDocletWriter.printHtmlHeader(HtmlDocletWriter.java:281)
> [javadoc] 	at com.sun.tools.doclets.formats.html.ClassWriterImpl.writeHeader(ClassWriterImpl.java:122)
> [javadoc] 	at com.sun.tools.doclets.internal.toolkit.builders.ClassBuilder.buildClassHeader(ClassBuilder.java:164)
> [javadoc] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> [javadoc] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> [javadoc] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> [javadoc] 	at java.lang.reflect.Method.invoke(Method.java:597)
> [javadoc] 	at com.sun.tools.doclets.internal.toolkit.builders.ClassBuilder.invokeMethod(ClassBuilder.java:101)
> [javadoc] 	at com.sun.tools.doclets.internal.toolkit.builders.AbstractBuilder.build(AbstractBuilder.java:90)
> [javadoc] 	at com.sun.tools.doclets.internal.toolkit.builders.ClassBuilder.buildClassDoc(ClassBuilder.java:124)
> [javadoc] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> [javadoc] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> [javadoc] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> [javadoc] 	at java.lang.reflect.Method.invoke(Method.java:597)
> [javadoc] 	at com.sun.tools.doclets.internal.toolkit.builders.ClassBuilder.invokeMethod(ClassBuilder.java:101)
> [javadoc] 	at com.sun.tools.doclets.internal.toolkit.builders.AbstractBuilder.build(AbstractBuilder.java:90)
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message