2009-05-20 2 views
2

때때로 구성 요소의 유효성 검사 도중 또는 발생 후 Out of Memory 예외가 발생합니다. 큰 유효성 검사 결과 < = 20000의 프로필을 작성하려고했는데 효과적이어서 더 커졌습니다. 예외는 값> 20000에서 발생합니다. 유효성 검사 프레임 워크, 구성 요소 바인더 또는 기타 다른 항목이있는 고유 한 jgoodies 메모리 누수를 아는 사람이 있습니까? -XX에JGoodies 메모리 누수 ?? - 메모리 부족으로 인해 Spring에서 뷰를 표시하려고 시도 할 때

Exception in thread "signal-validationPerformanceTest" java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(Arrays.java:2882) at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:100) at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:390) at java.lang.StringBuffer.append(StringBuffer.java:224) at org.springframework.core.style.DefaultValueStyler.style(DefaultValueStyler.java:107) at org.springframework.core.style.DefaultValueStyler.style(DefaultValueStyler.java:72) at org.springframework.core.style.DefaultValueStyler.style(DefaultValueStyler.java:100) at org.springframework.core.style.DefaultValueStyler.style(DefaultValueStyler.java:87) at org.springframework.core.style.DefaultValueStyler.style(DefaultValueStyler.java:66) at org.springframework.core.style.StylerUtils.style(StylerUtils.java:47) at org.springframework.webflow.core.collection.LocalAttributeMap.toString(LocalAttributeMap.java:312) at java.lang.String.valueOf(String.java:2827) at org.springframework.core.style.DefaultValueStyler.style(DefaultValueStyler.java:78) at org.springframework.core.style.DefaultToStringStyler.styleValue(DefaultToStringStyler.java:91) at org.springframework.core.style.DefaultToStringStyler.styleField(DefaultToStringStyler.java:79) at org.springframework.core.style.ToStringCreator.append(ToStringCreator.java:156) at org.springframework.webflow.engine.impl.FlowSessionImpl.toString(FlowSessionImpl.java:207) at java.lang.String.valueOf(String.java:2827) at org.springframework.core.style.DefaultValueStyler.style(DefaultValueStyler.java:78) at org.springframework.core.style.DefaultValueStyler.style(DefaultValueStyler.java:107) at org.springframework.core.style.DefaultValueStyler.style(DefaultValueStyler.java:72) at org.springframework.core.style.DefaultToStringStyler.styleValue(DefaultToStringStyler.java:91) at org.springframework.core.style.DefaultToStringStyler.styleField(DefaultToStringStyler.java:79) at org.springframework.core.style.ToStringCreator.append(ToStringCreator.java:156) at org.springframework.webflow.engine.impl.FlowExecutionImpl.toString(FlowExecutionImpl.java:499) at java.lang.String.valueOf(String.java:2827) at java.lang.StringBuffer.append(StringBuffer.java:219) at org.springframework.webflow.execution.repository.support.SimpleFlowExecutionRepository.putFlowExecution(SimpleFlowExecutionRepository.java:130) at org.springframework.webflow.executor.FlowExecutorImpl.resume(FlowExecutorImpl.java:226) at com.mason.core.application.flow.ApplicationFlowEngine$SignalEventTask.execute(ApplicationFlowEngine.java:188) at com.mason.core.application.flow.ApplicationFlowEngine$1.run(ApplicationFlowEngine.java:99) at java.lang.Thread.run(Thread.java:619)

답변

2

차례 : + HeapDumpOnOutOfMemoryError (당신은 SUN JVM을 한 가정)과 힙이 Eclipse Memory Analyzer에 덤프로드합니다. 너무 많은 메모리를 필요로하는 것이 무엇인지 쉽게 알아 내야합니다.