You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Suneel <pa...@gmail.com> on 2012/04/02 10:56:03 UTC
Re: Virtual Memory very high
Hello Everyone,
On window server.
I am facing same problem during indexing my memory consumption going very
high based on above discussion i checked in my Solrconfig.xml file and found
that "directoryFactory" not configured yet. if i configuring
directoryfactory then its will help me reduce the consumption of memory.
i think below configuration used for linex server.
<directoryFactory name="DirectoryFactory"
class="${solr.directoryFactory:solr.NIOFSDirectoryFactory}"/>
what will be best option for window server which solve my problem.
Please suggest me.
-----
Regards,
Suneel Pandey
Sr. Software Developer
--
View this message in context: http://lucene.472066.n3.nabble.com/Virtual-Memory-very-high-tp3574817p3877097.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: Virtual Memory very high
Posted by Erick Erickson <er...@gmail.com>.
Why do you care about virtual memory? It's after all, virtual. You can
allocate as much as you want.
For instance, MMapDirectory maps a load of virtual memory, but that
has little relation to how much physical memory is being used. Consider
looking at your app with something like jConsole and seeing how much
physical memory is being used before you worry about this issue.
Best
Erick
On Mon, Apr 2, 2012 at 4:56 AM, Suneel <pa...@gmail.com> wrote:
> Hello Everyone,
>
> On window server.
>
> I am facing same problem during indexing my memory consumption going very
> high based on above discussion i checked in my Solrconfig.xml file and found
> that "directoryFactory" not configured yet. if i configuring
> directoryfactory then its will help me reduce the consumption of memory.
>
> i think below configuration used for linex server.
>
> <directoryFactory name="DirectoryFactory"
> class="${solr.directoryFactory:solr.NIOFSDirectoryFactory}"/>
>
> what will be best option for window server which solve my problem.
>
> Please suggest me.
>
>
>
>
>
>
> -----
> Regards,
>
> Suneel Pandey
> Sr. Software Developer
> --
> View this message in context: http://lucene.472066.n3.nabble.com/Virtual-Memory-very-high-tp3574817p3877097.html
> Sent from the Solr - User mailing list archive at Nabble.com.