我开发了动态网络项目。我多次执行该应用程序。但是目前,当我尝试清理项目(项目->清理->我的项目)时,它显示出一些内部问题。项目验证失败。
这是因为当 spring bean 实例化时发生内存不足。错误消息是
堆栈跟踪是
java.lang.OutOfMemoryError:在 org.eclipse.wst.xml.core.internal.parser.XMLSourceParser 的 org.eclipse.wst.xml.core.internal.parser.XMLStructuredRegionFactory.createRegion(XMLStructuredRegionFactory.java:31) 处的 Java 堆空间.createStructuredDocumentRegion(XMLSourceParser.java:110) at org.eclipse.wst.xml.core.internal.parser.XMLSourceParser.parseNodes(XMLSourceParser.java:358) at org.eclipse.wst.xml.core.internal.parser.XMLSourceParser .getDocumentRegions(XMLSourceParser.java:164) 在 org.eclipse.wst.sse.core.internal.text.StructuredDocumentReParser._core_reparse_text(StructuredDocumentReParser.java:309) 在 org.eclipse.wst.sse.core.internal.text.StructuredDocumentReParser .core_reparse(StructuredDocumentReParser.java:708) 在 org.eclipse.wst.sse.core.internal.text.StructuredDocumentReParser.reparse(StructuredDocumentReParser.java:1352) 在 org.eclipse.wst.sse.core.internal.text.StructuredDocumentReParser.reparse(StructuredDocumentReParser.java:1284) at org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.updateModel(BasicStructuredDocument.java:2705) at org. eclipse.wst.sse.core.internal.text.BasicStructuredDocument.internalReplaceText(BasicStructuredDocument.java:1919) at org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.replaceText(BasicStructuredDocument.java:2415) at org. eclipse.wst.sse.core.internal.text.BasicStructuredDocument.set(BasicStructuredDocument.java:2927) 在 org.eclipse.core.internal.filebuffers.ResourceTextFileBuffer.setDocumentContent(ResourceTextFileBuffer.java:579) 在 org.eclipse.core。 internal.filebuffers.ResourceTextFileBuffer.initializeFileBufferContent(ResourceTextFileBuffer.java:290) 在 org.eclipse.core.internal.filebuffers。ResourceFileBuffer.create(ResourceFileBuffer.java:245) 在 org.eclipse.core.internal.filebuffers.TextFileBufferManager.connect(TextFileBufferManager.java:113) 在 org.eclipse.wst.sse.core.internal.FileBufferModelManager.getModel(FileBufferModelManager. java:656) at org.eclipse.wst.sse.core.internal.model.ModelManagerImpl._doCommonGetModel(ModelManagerImpl.java:569) at org.eclipse.wst.sse.core.internal.model.ModelManagerImpl._commonGetModel(ModelManagerImpl. java:536)在 org.eclipse.wst.sse.core.internal.model.ModelManagerImpl._commonGetModel(ModelManagerImpl.java:509) 在 org.eclipse.wst.sse.core.internal.model.ModelManagerImpl.getModelForRead(ModelManagerImpl. java:1438) 在 org.eclipse.wst.validation.internal.ValManager $2 的 org.eclipse.wst.sse.core.internal.validate.ValidatorGroupListener.validationStarting(ValidatorGroupListener.java:72)。run(ValManager.java:847) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.wst.validation.internal.ValManager.notifyGroupListenersStarting(ValManager.java:845) at org .eclipse.wst.validation.internal.ValManager.accept(ValManager.java:800) 在 org.eclipse.wst.validation.internal.ValManager.validate(ValManager.java:667) 在 org.eclipse.wst.validation.internal .ValBuilderJob$Visitor.visit(ValBuilderJob.java:298) at org.eclipse.core.internal.resources.Resource$2.visit(Resource.java:108) at org.eclipse.core.internal.resources.Resource$1.visitElement (Resource.java:60) 在 org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:82) 在 org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:86)42) 在 org.eclipse.wst.validation.internal.ValManager.accept(ValManager.java:800) 在 org.eclipse.wst 的 org.eclipse.wst.validation.internal.ValManager.notifyGroupListenersStarting(ValManager.java:845) .validation.internal.ValManager.validate(ValManager.java:667) 在 org.eclipse.wst.validation.internal.ValBuilderJob$Visitor.visit(ValBuilderJob.java:298) 在 org.eclipse.core.internal.resources.Resource $2.visit(Resource.java:108) at org.eclipse.core.internal.resources.Resource$1.visitElement(Resource.java:60) at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java :82) 在 org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:86)42) 在 org.eclipse.wst.validation.internal.ValManager.accept(ValManager.java:800) 在 org.eclipse.wst 的 org.eclipse.wst.validation.internal.ValManager.notifyGroupListenersStarting(ValManager.java:845) .validation.internal.ValManager.validate(ValManager.java:667) 在 org.eclipse.wst.validation.internal.ValBuilderJob$Visitor.visit(ValBuilderJob.java:298) 在 org.eclipse.core.internal.resources.Resource $2.visit(Resource.java:108) at org.eclipse.core.internal.resources.Resource$1.visitElement(Resource.java:60) at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java :82) 在 org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:86)在 org.eclipse.wst.validation.internal.ValBuilderJob$Visitor.visit(ValBuilderJob.java: 298)在 org.eclipse.core.internal.resources.Resource$2.visit(Resource.java:108) 在 org.eclipse.core.internal.resources.Resource$1.visitElement(Resource.java:60) 在 org.eclipse .core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:82) 在 org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:86)在 org.eclipse.wst.validation.internal.ValBuilderJob$Visitor.visit(ValBuilderJob.java: 298)在 org.eclipse.core.internal.resources.Resource$2.visit(Resource.java:108) 在 org.eclipse.core.internal.resources.Resource$1.visitElement(Resource.java:60) 在 org.eclipse .core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:82) 在 org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:86)Resource$1.visitElement(Resource.java:60) at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:82) at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java :86)Resource$1.visitElement(Resource.java:60) at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:82) at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java :86)
Java 堆空间。提前致谢。
拉克斯曼杂烩