On Thu, Aug 21, 2014 at 11:59 AM, Nick Cross <
dns....@gmail.com> wrote:
> To date, I have always used text in my question-and-answer cards. I have
> recently started experimenting and adding images to those cards where I have
> had more challenges with retention. In some cases, I now have up to four
> pictures for a card. I checked and the total size of the graphics that I
> inserted on one card reached 250kb. By contrast, the MS-Word file
> containing lots of sentences and text for 20 new words was only 12kb.
>
> My computer has 6GB of RAM of which 5.87GB are usable. What would the
> ceiling be for the number of cards if all of my cards had graphics?
I don't understand why you would think there would be a limit.
An image in a flashcard is just a crossreference/URI like '<img
src="images/bulgogi_1.jpg"/>', where the actual image is stored
on-disk at a filepath like
/home/gwern/doc/mnemosyne/default.db_media/images/bulgogi_1.jpg . So
the limit on actual images is however many images you can fit on your
hard drive. I have 1115 images with a total size of 17868kb, so the
average is 16.03kb. My partitioned disk has 917G or 917000000kb
available for use, so I could fit a maximum of <57.2 million images
(917000000 / (17868 / 1115) ~> 57,222,688.6).
The database itself is implemented using sqlite3, with an upper limit
of ~140TB (
https://www.sqlite.org/limits.html). My personal database
has 19293 cards (over ~4 years of usage) and a size of 29584kb
suggesting each card uses up >1.54kb in the long-run. So Mnemosyne
would be limited to <91.3 billion flashcards by sqlite3's limitations
(140000000000 / (29584 / 19293) ~> 91,300,027,042). But it'd probably
run into some limits in Python or the libraries before then.
--
gwern
http://www.gwern.net