I tried with the 2.0.11 and 2.0.13. I tried on multiple machines, turns out it differs depending on the RAM amount available on it.
It is definitely linked to the RAM orientdb is using while connecting to the databases. Is there a way to avoid keeping the databases into the RAM or at least free it after a given time? There might have hundreds of temporary databases in use at the same time, that's why I chose not to use memory DB. On Wednesday, July 29, 2015 at 6:05:26 PM UTC+2, nagaraja sosale ramaswamy wrote: > > which version of orientdb are you using? > BTW, out of curiosity could you not use an in memory DB for temporary DB > instead of copy-pasting ? > > > On Wednesday, July 29, 2015 at 7:07:58 PM UTC+5:30, Julien Ganichot wrote: >> >> Hi! I am running out of ideas about a very strange behaviour with the >> OrientDB server. >> I have been using OrientDB in a particular way: >> >> I am writing a program that works with OrientDB as a main graph databases >> server. This program needs to create temporary databases in a very short >> amount of time. >> I have created an empty database (say *empty_model*), which I am >> copy-pasting directly inside the *databases* directory to create >> temporary databases and all of this while the server is running. >> Once the temporary database is created (by checking the files integrity) >> I connect to it and begin working with it. >> BUT, after the 46th copy of the database - (at this stage the server >> successfully used 45 temporary databases while running) - and try to >> connect to it, the server completely fails saying that the database (the >> 47th one) is corrupted and throw an exception saying that the database.ocf >> file is missing but the program checked and it IS actually here. >> >> I am wondering if the server's cache runs out of space or something >> similar. Do you have any idea why this problem always occurs with the 47th >> database the server connects to? >> > -- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
