mirror of
https://github.com/MarginaliaSearch/MarginaliaSearch.git
synced 2025-02-23 21:18:58 +00:00
![]() fixup! Re-introduce monkey patched GSON to make converter run better. fixup! Re-introduce monkey patched GSON to make converter run better. |
||
---|---|---|
.. | ||
src/main/java/com/google/gson/stream | ||
build.gradle | ||
readme.md |
Monkey Patched GSON
Stanford OpenNLP - Apache-2.0
Rationale
GSON makes some assumptions that make it not work very well for deserializing extremely large JSON objects. This patch makes the code technically leak memory, but the way it's used makes this not much of a problem.
It should only be applied to the converter or possibly loader processes, not the services.