Look at the admin UI screen, the overview screen has this in the
lower-right corner.

To add more memory, you can start it like this:

java -Xmx4G -Xms4G -jar start.jar

Best,
Erick

On Fri, Feb 13, 2015 at 10:24 AM, Kevin Laurie
<superinterstel...@gmail.com> wrote:
> Hi,
> how do i check the heap size for Solr java?
>
> i am not very well versed with java, only using it for my mail server so
> appreciate if you could help
> thanks
> Kevin
>
> On Saturday, February 14, 2015, Shalin Shekhar Mangar <
> shalinman...@gmail.com> wrote:
>
>> According to the logs, the Solr process has run out of memory and therefore
>> it won't accept any more writes. What is the heap size for the Solr java
>> process?
>>
>> The u...@domain.net <javascript:;> in the logs is a red herring. Those
>> just seem to be
>> part of the document's id.
>>
>>
>>
>> On Fri, Feb 13, 2015 at 11:06 PM, Kevin Laurie <
>> superinterstel...@gmail.com <javascript:;>>
>> wrote:
>>
>> > Hi Guys,
>> > Serious help requested with dovecot and apache solr. Appreciate if
>> > someone could see the solr log outputs and tell me whats going wrong.
>> >
>> >
>> > Problem:
>> > Dovecot adm keeps reporting error as shown below:-
>> >
>> > root@mail:/var/log# doveadm index -u u...@domain.net <javascript:;>
>> inbox
>> > doveadm(t...@sicl.net <javascript:;>): Error: fts_solr: Indexing
>> failed: Server Error
>> >
>> > The log suggests as follows:-
>> > http://pastebin.com/KSvignc9
>> >
>> > My system settings:
>> >
>> > solr-spec4.10.2 solr-impl4.10.2 1634293 - mike - 2014-10-26 05:56:21
>> > lucene-spec4.10.2 lucene-impl4.10.2 1634293 - mike - 2014-10-26 05:51:56
>> > Physical Memory 98.8%
>> > Swap Space 0.0%
>> > File Descriptor Count 2.3%
>> > JVM-Memory 5.4%
>> >
>> >
>> > I login to my server as follows:-
>> >
>> > kevin-MBP:~ kevin$ ssh -t -L 8983:localhost:8983 ad...@server.net
>> <javascript:;>
>> >
>> > I start my server with following command:
>> >
>> > :/opt/solr# java -jar start.jar
>> >
>> > Startup log is showing as follows:-
>> > http://pastebin.com/EYVJ06rL
>> >
>> > It keeps indicating u...@domain.net <javascript:;>  (This was the user
>> name that was
>> > part of a command passed from doveadm as follows):-
>> >
>> > doveadm index -u u...@domain.net <javascript:;> inbox
>> >
>> >
>> > Could someone tell me what is happening in the log(can the apache solr
>> > read the request from dovecot correctly or is this some schema problem
>> > or what?) ?
>> >
>> > Thanks
>> >
>> > Kevin
>> >
>>
>>
>>
>> --
>> Regards,
>> Shalin Shekhar Mangar.
>>

Reply via email to