> Im using Windows and I'll try NIO, good idea, my app is already memory > hungry in other areas so I guess MMapped is a no go, doe sit use heap or perm > memory ?
It uses address space for mapping the files into virtual memory (like a swap file) - this is why it only works well for 64bit VMs. The used physical memory depends on your OS cache configuration. Java Heap is not used for that (in contrast to copying a file to a RAMDirectory). Uwe --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org