yacy_search_server/source/net/yacy/document
Michael Peter Christen 81d9e23532 fixed another memory leak in the PDF parser:
the class org.apache.pdfbox.pdmodel.font.PDFont occupies 8MB of space
which cannot be cleaned if PDFont.clearResources is called.
The attempt to clean the class cache therefore causes that the class is
loaded and this cache is initialized with some rubbish. I tried to
prevent to instantiate this class by usage of a hacked findLoadedClass
call to the SystemClassLoader (which is protected ...).
Now, without using the PDF parser at all, 8MB of RAM space is not
occupied, however, when the first PDF arrives this space will be taked
and never given back to GC.
WAKE UP YOU LAZY PDFBOX HACKER AND FIX THIS SHIT!
2013-11-07 11:57:01 +01:00
..
content - the webgraph shall store all links which appear on a web page and not 2013-09-15 00:30:23 +02:00
importer - replaced the properties object in AnchorURL with distinct variables 2013-09-15 23:27:04 +02:00
language - refactoring of log to ConcurrentLog: 2013-07-09 14:28:25 +02:00
parser fixed another memory leak in the PDF parser: 2013-11-07 11:57:01 +01:00
AbstractParser.java - refactoring of log to ConcurrentLog: 2013-07-09 14:28:25 +02:00
Condenser.java hacks to prevent storage of data longer than necessary during search and 2013-10-25 15:05:30 +02:00
Document.java - fixed a problem which ocurred when a document was not recognized with 2013-10-23 00:16:54 +02:00
ImageParser.java Added 'final' for all exception blocks as this helps the Java compiler 2013-07-17 18:31:30 +02:00
LargeNumberCache.java
LibraryProvider.java - the webgraph shall store all links which appear on a web page and not 2013-09-15 00:30:23 +02:00
Parser.java - replaced the properties object in AnchorURL with distinct variables 2013-09-15 23:27:04 +02:00
Phrase.java
SentenceReader.java hacks to prevent storage of data longer than necessary during search and 2013-10-25 15:05:30 +02:00
SnippetExtractor.java Added 'final' for all exception blocks as this helps the Java compiler 2013-07-17 18:31:30 +02:00
TextParser.java - replaced the properties object in AnchorURL with distinct variables 2013-09-15 23:27:04 +02:00
WordTokenizer.java hacks to prevent storage of data longer than necessary during search and 2013-10-25 15:05:30 +02:00