mirror of
https://github.com/MarginaliaSearch/MarginaliaSearch.git
synced 2025-02-24 13:19:02 +00:00
13 lines
375 B
Markdown
13 lines
375 B
Markdown
![]() |
# 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.
|