Closed lievendf closed 8 months ago
I've changed a couple of things and now it works
Hard to tell what did the trick, although only increasing the Xmx didn't help (I got a StackOverflow exception). So case closed...
It appears the issue isn't solved after all... Still occasional OutOfMemory and StackOverflow exceptions...
!ENTRY org.eclipse.core.jobs 4 2 2024-02-06 15:12:32.235
!MESSAGE An internal error occurred during: "Oedt Dependency Build for Project: xxx".
!STACK 0
java.lang.OutOfMemoryError: Java heap space
at de.omecra.oedt.core.OedtFile.getFileContent(OedtFile.java:52)
at de.omecra.oedt.core.OedtFile.checkSHA(OedtFile.java:90)
at de.omecra.oedt.internal.core.project.builder.OedtDeltaBuild.checkChanges(OedtDeltaBuild.java:105)
at de.omecra.oedt.internal.core.project.builder.OedtDependencyBuild.getDeltaBuild(OedtDependencyBuild.java:257)
at de.omecra.oedt.internal.core.project.builder.OedtDependencyBuild$1.run(OedtDependencyBuild.java:173)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
Not sure if the StackOverflow exception originates from OEDT though...
!ENTRY org.eclipse.core.jobs 4 2 2024-02-06 11:13:49.436
!MESSAGE An internal error occurred during: "Validating xxx".
!STACK 0
java.lang.StackOverflowError
at org.apache.xerces.impl.xpath.regex.RegularExpression.matchString(Unknown Source)
at org.apache.xerces.impl.xpath.regex.RegularExpression.matchString(Unknown Source)
at org.apache.xerces.impl.xpath.regex.RegularExpression.matchString(Unknown Source)
...
Both call-stacks point to reading the content of a file. Do you have a very big file inside your project?
There are some git repositories with large pack files in there. They should be ignored/excluded but I'll check again. Also some large log files apparently, I'll remove them. I'll report back!
I removed the large log files, checked that .git folders are excluded using resource filters and disabled Eclipse validators, as these seemed to be problematic on some files as well. Seems fixed...
Hi,
I'm having an OutOfMemory exception while building the source model of a project:
Current eclipse memory settings: -Xms256m -Xmx1024m
Any idea where to start looking for the cause?
Regards, Lieven