Hello Michael,

I have upgraded my server to 4GB total RAM and I have allocated minimum 256 
MB and maximum 2GB RAM to neo4j .
But still I got error and today it terminated by saying "JAVA Heap out of 
memory". moreover it is not exhausting complete 2 GB ram i saw it using 
HTOP.

I dun know why it is happening any suggestion please.

On Saturday, 19 April 2014 03:30:30 UTC+5:30, Michael Hunger wrote:
>
> In general probably too little, RAM if you only have 2G in total as OS, 
> FS-Caches and other services also take their share.
>
> Depends also on what you're doing.
>
> Perhaps you can share your graph.db/messages.log
>
> (michael 
> <http://twitter.com/mesirii>)-[:SUPPORTS]->(*YOU*)-[:USE]->(Neo4j<http://neo4j.org/>
> )
> Learn Online <http://neo4j.org/learn/online_course>, 
> Offline<http://www.neo4j.org/events> or 
> Read a Book <http://graphdatabases.com/> (in Deutsch<http://bit.ly/das-buch>
> )
> We're trading T-shirts for cool Graph Models <http://bit.ly/graphgist>
>  
>
> On Fri, Apr 18, 2014 at 11:31 PM, Amit Aggarwal 
> <[email protected]<javascript:>
> > wrote:
>
>> Hello,
>>
>> I am using neo4j 2.2 commmunity version on ubuntu 12.04 64bit 2 GB RAM 
>>
>> I saw that after running neo4j for sometime , i got this
>>
>> 2013-07-09 12:19:51.933+0000 INFO  [org.neo4j]: GC Monitor: Application 
>> threads blocked for an additional 3406ms [total block time: 441.511s]
>> 2013-07-09 12:20:17.351+0000 INFO  [org.neo4j]: GC Monitor: Application 
>> threads blocked for an additional 3143ms [total block time: 444.654s]
>> 2013-07-09 12:20:20.654+0000 INFO  [org.neo4j]: GC Monitor: Application 
>> threads blocked for an additional 3202ms [total block time: 447.856s]
>> 2013-07-09 12:20:24.281+0000 INFO  [org.neo4j]: GC Monitor: Application 
>> threads blocked for an additional 3527ms [total block time: 451.383s]
>> 2013-07-09 12:20:27.954+0000 INFO  [org.neo4j]: GC Monitor: Application 
>> threads blocked for an additional 3573ms [total block time: 454.956s]
>> 2013-07-09 12:20:31.193+0000 INFO  [org.neo4j]: GC Monitor: Application 
>> threads blocked for an additional 3139ms [total block time: 458.095s]
>>
>> in message.log
>>
>> Whats does it want ?? As of now db has only around 15500 nodes and around 
>> same number of relationships..
>>  
>>
>> Here is my neo4j-wrapper.conf
>>
>>
>>
>> wrapper.java.additional=-Dorg.neo4j.server.properties=conf/neo4j-server.properties
>>
>> wrapper.java.additional=-Djava.util.logging.config.file=conf/logging.properties
>> wrapper.java.additional=-Dlog4j.configuration=file:conf/log4j.properties
>>
>> #********************************************************************
>> # JVM Parameters
>> #********************************************************************
>>
>> wrapper.java.additional=-XX:+UseConcMarkSweepGC
>> wrapper.java.additional=-XX:+CMSClassUnloadingEnabled
>>
>> # Uncomment the following lines to enable garbage collection logging
>> #wrapper.java.additional=-Xloggc:data/log/neo4j-gc.log
>> #wrapper.java.additional=-XX:+PrintGCDetails
>> #wrapper.java.additional=-XX:+PrintGCDateStamps
>> #wrapper.java.additional=-XX:+PrintGCApplicationStoppedTime
>> #wrapper.java.additional=-XX:+PrintPromotionFailure
>> #wrapper.java.additional=-XX:+PrintTenuringDistribution
>>
>> # Uncomment the following lines to enable JVM startup diagnostics
>> #wrapper.java.additional=-XX:+PrintFlagsFinal
>> #wrapper.java.additional=-XX:+PrintFlagsInitial
>>
>> # Java Heap Size: by default the Java heap size is dynamically
>> # calculated based on available system resources.
>> # Uncomment these lines to set specific initial and maximum
>> # heap size in MB.
>> wrapper.java.initmemory=256
>> wrapper.java.maxmemory=1000
>>
>> #********************************************************************
>> # Wrapper settings
>> #********************************************************************
>> # path is relative to the bin dir
>> wrapper.pidfile=../data/neo4j-server.pid
>>
>> #********************************************************************
>> # Wrapper Windows NT/2000/XP Service Properties
>> #********************************************************************
>> # WARNING - Do not modify any of these properties when an application
>> #  using this configuration file has been installed as a service.
>> #  Please uninstall the service before modifying this section.  The
>> #  service can then be reinstalled.
>>
>> # Name of the service
>> wrapper.name=neo4j
>>
>> # User account to be used for linux installs. Will default to current
>> # user if not set.
>> wrapper.user=
>>
>>
>>
>> Thanks
>> Amit Aggarwal 
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Neo4j" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to