Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 310809 - Galileo help.eclipse.org is down due to OutOfMemoryError
Summary: Galileo help.eclipse.org is down due to OutOfMemoryError
Status: RESOLVED FIXED
Alias: None
Product: Community
Classification: Eclipse Foundation
Component: Servers (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: Eclipse Webmaster CLA
QA Contact:
URL: http://help.eclipse.org/galileo/index...
Whiteboard:
Keywords:
Depends on:
Blocks: 315952
  Show dependency tree
 
Reported: 2010-04-28 08:58 EDT by Martin Oberhuber CLA
Modified: 2010-06-07 07:24 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Oberhuber CLA 2010-04-28 08:58:39 EDT
Access http://help.eclipse.org/galileo/index.jsp

--> 

HTTP ERROR 500

Problem accessing /help/advanced/content.jsp. Reason:

    INTERNAL_SERVER_ERROR

Caused by:

java.lang.OutOfMemoryError
	at java.util.zip.ZipEntry.initFields(Native Method)
	at java.util.zip.ZipEntry.(ZipEntry.java:117)
	at java.util.zip.ZipFile$3.nextElement(ZipFile.java:488)
	at java.util.zip.ZipFile$3.nextElement(ZipFile.java:466)
	at org.eclipse.osgi.baseadaptor.bundlefile.ZipBundleFile.getEntryPaths(ZipBundleFile.java:276)
	at org.eclipse.osgi.baseadaptor.BaseData.getEntryPaths(BaseData.java:124)
	at org.eclipse.osgi.framework.internal.core.AbstractBundle.findLocalEntryPaths(AbstractBundle.java:1450)
	at org.eclipse.osgi.framework.internal.core.AbstractBundle.findEntries(AbstractBundle.java:1389)
	at org.eclipse.equinox.jsp.jasper.JspServlet$ServletContextAdaptor.getResource(JspServlet.java:172)
	at org.apache.jasper.JspCompilationContext.getResource(JspCompilationContext.java:274)
[...]
Comment 1 Eclipse Webmaster CLA 2010-04-28 09:27:39 EDT
I've restarted the Galileo help instance.

-M.
Comment 2 Martin Oberhuber CLA 2010-04-29 01:26:50 EDT
Out of curiosity, what memory args does the helpserver run with? eg
  -vmargs -Xmx512m -XX:MaxPermSizer=256m

I have seen the Lucene indexer take a surprisingly large amount of memory, such that the default vmargs were not sufficient even on a relatively small help server.

Also, to avoid / diagnose problems in the future, I would suggest running with a JVM option that dumps the heap on out-of-memory:

  http://wiki.eclipse.org/index.php/MemoryAnalyzer#IBM_Java_5.0_and_Java_6_Virtual_Machine_dump_options

Such a heap dump can be analyzed very quickly and easily to see what caused the Out-of-memory-error.
Comment 3 Denis Roy CLA 2010-04-29 07:16:24 EDT
It's not using any specific memory settings...

java -classpath eclipse/plugins/org.eclipse.help.base_3.4.0.v200906111540.jar org.eclipse.help.standalone.Infocenter -clean -command start -eclipsehome help.eclipse.org/galileo/eclipse -port 8087 -nl en -locales en -plugincustomization help.eclipse.org/galileo/eclipse/plugin_customization.ini