You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I attempted to use anki-apkg-export to generate 861 cards, but am reaching the memory limit before they are all added.
The final apkg file is 87KB so I don't know why I am hitting the current ~18MB limit that sql.js has. Regardless, I am wondering if I would be able to either:
have anki-apkg-export use a custom sql.js that is compiled to have a TOTAL_MEMORY of 512MB
have anki-apkg-export use sql-memory-growth.js instead of sql.js without modifying the dist/index.js file directly
Enlarging the arrays adds overhead that doubles the execution time when compared to increasing the TOTAL_MEMORY, so I would prefer the first option.
I am new to nodejs so perhaps I am off-topic and this is possible with yarn scripts.
Thanks,
David
The text was updated successfully, but these errors were encountered:
Hello,
I attempted to use
anki-apkg-export
to generate 861 cards, but am reaching the memory limit before they are all added.The final apkg file is 87KB so I don't know why I am hitting the current ~18MB limit that
sql.js
has. Regardless, I am wondering if I would be able to either:have
anki-apkg-export
use a customsql.js
that is compiled to have aTOTAL_MEMORY
of 512MBhave
anki-apkg-export
usesql-memory-growth.js
instead ofsql.js
without modifying thedist/index.js
file directlyEnlarging the arrays adds overhead that doubles the execution time when compared to increasing the
TOTAL_MEMORY
, so I would prefer the first option.I am new to nodejs so perhaps I am off-topic and this is possible with yarn scripts.
Thanks,
David
The text was updated successfully, but these errors were encountered: