You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jena.apache.org by Laurent Pellegrino <la...@gmail.com> on 2011/08/22 22:10:02 UTC

DatasetGraphFactory

Hi all,

What is the difference between DatasetGraphFactory.createMem() and
DatasetGraphFactory.createMemFixed()?

I have noticed that DatasetGraphFactory.createMem() creates some files
in a temporary directory. Do these files are used to spill the data to
the disk temporarily when there not enough space in memory?

Kind Regards,

Laurent

Re: DatasetGraphFactory

Posted by Andy Seaborne <an...@epimorphics.com>.

On 22/08/11 21:10, Laurent Pellegrino wrote:
> Hi all,
>
> What is the difference between DatasetGraphFactory.createMem() and
> DatasetGraphFactory.createMemFixed()?

createMemFixed doesn't allow new named graphs to be added.

>
> I have noticed that DatasetGraphFactory.createMem() creates some files
> in a temporary directory. Do these files are used to spill the data to
> the disk temporarily when there not enough space in memory?

Do you have a complete minimal example?  No files should be created over 
and above any thing like hsperfdata* that the JVM might place there.

	Andy

>
> Kind Regards,
>
> Laurent