java.lang.OutOfMemoryError: GC overhead limit exceeded

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via tika-user by Stephan Mühlstrasser, 1 year ago
GC overhead limit exceeded
via GitHub by UnknownEvil
, 8 months ago
GC overhead limit exceeded
via GitHub by jkkid
, 2 years ago
GC overhead limit exceeded
via Stack Overflow by Unknown author, 2 years ago
java.lang.OutOfMemoryError: GC overhead limit exceeded
at java.util.Arrays.copyOfRange(Arrays.java:3209)
at java.lang.String.(String.java:216)
at java.lang.StringBuilder.toString(StringBuilder.java:430)
at org.apache.tika.mime.MediaType.toString(MediaType.java:237)
at org.apache.tika.detect.MagicDetector.(MagicDetector.java:142)
at org.apache.tika.mime.MimeTypesReader.readMatch(MimeTypesReader.java:254)
at org.apache.tika.mime.MimeTypesReader.readMatches(MimeTypesReader.java:202)
at org.apache.tika.mime.MimeTypesReader.readMagic(MimeTypesReader.java:186)
at org.apache.tika.mime.MimeTypesReader.readMimeType(MimeTypesReader.java:152)
at org.apache.tika.mime.MimeTypesReader.read(MimeTypesReader.java:124)
at org.apache.tika.mime.MimeTypesReader.read(MimeTypesReader.java:107)
at org.apache.tika.mime.MimeTypesFactory.create(MimeTypesFactory.java:63)
at org.apache.tika.mime.MimeTypesFactory.create(MimeTypesFactory.java:91)
at org.apache.tika.mime.MimeTypesFactory.create(MimeTypesFactory.java:147)
at org.apache.tika.mime.MimeTypes.getDefaultMimeTypes(MimeTypes.java:455)
at org.apache.tika.config.TikaConfig.typesFromDomElement(TikaConfig.java:273)
at org.apache.tika.config.TikaConfig.(TikaConfig.java:161)
at org.apache.tika.config.TikaConfig.getDefaultConfig(TikaConfig.java:237)
at org.apache.tika.mime.MediaTypeRegistry.getDefaultRegistry(MediaTypeRegistry.java:42)
at org.apache.tika.parser.DefaultParser.(DefaultParser.java:52)
at sun.reflect.GeneratedConstructorAccessor4.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at org.apache.tika.config.TikaConfig.parserFromDomElement(TikaConfig.java:288)
at org.apache.tika.config.TikaConfig.(TikaConfig.java:162)
at org.apache.tika.config.TikaConfig.getDefaultConfig(TikaConfig.java:237)
at org.apache.tika.mime.MediaTypeRegistry.getDefaultRegistry(MediaTypeRegistry.java:42)
at org.apache.tika.parser.DefaultParser.(DefaultParser.java:52)
at sun.reflect.GeneratedConstructorAccessor4.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)

Users with the same issue

Once, 3 days ago
Once, 1 month ago
Once, 2 months ago
2 times, 1 year ago
4 times, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.