keensoft / alf-21970-repo Goto Github PK
View Code? Open in Web Editor NEWPatch for high CPU consumption when parsing PDF files
License: Other
Patch for high CPU consumption when parsing PDF files
License: Other
Hi,
i tried this patch on a test repo of Alfresco 201707GA.
High CPU usage is gone for the problematic test pdf page, but now no new pdf get's indexed any more:
Log shows:
2018-04-06 12:50:24,851 WARN [content.metadata.AbstractMappingMetadataExtracter] [catalina-exec-35] Metadata extraction failed (turn on DEBUG for full error): Extracter: org.alfresco.repo.content.metadata.PdfBoxMetadataExtracter@24dfb72e Content: ContentAccessor[ contentUrl=store://2018/4/6/12/50/908747cc-a822-418a-87cb-4e79d8130a5f.bin, mimetype=application/pdf, size=364282, encoding=UTF-8, locale=en_US] Failure: org/apache/tika/parser/pdf/PDF2XHTMLnull 2018-04-06 12:50:45,094 DEBUG [content.metadata.MetadataExtracterConfigImpl] [catalina-exec-50] Tika metadata options passed to tika parser: TIKA_PARSER_PARSE_SHAPES=false
when i remove your patch, new pdf files are getting indexed again o.k.
@angelborroy any idea why this is happening?
Cheers,
Max
Hi this project worked perfectly, i wonder , can i integrate this java class in my "AMP/JAR" SDK 3/4 of Alfresco?
There is a specific directory for the maven project or i just need to put under "src/main/java" ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.