memory problem when querying two large dataset

2013-07-21 Thread Davide Rossi
Hi everybody, I have two large datasets, each of which is about 2GB of memory. Now, I have to query both datasets in one single query because the informations I have to retrieve are divided in these datasets so I have to navigate their union. The problem is that I have only 1GB of memory on my JVM

Re: memory problem when querying two large dataset

2013-07-21 Thread Davide Rossi
Hi Andy. First of all, thank you for your answers. I'm new about Jena, so I' ll try to be as much accurate as possible. What kind of dataset are you using? Some don't copy at this point, some do. I'm using a typical RDF dataset. I create it by TDBFactory.createDataset(...). If I understood

Re: memory problem when querying two large dataset

2013-07-21 Thread David Jordan
You can set the memory size of your JVM, it can even be larger than your actual physical memory. On Jul 20, 2013, at 5:12 AM, Davide Rossi wrote: Hi everybody, I have two large datasets, each of which is about 2GB of memory. Now, I have to query both datasets in one single query because the