Re: [Neo4j] Server couldn't start after java.lang.OutOfMemoryError

2011-09-07 Thread Adriano Henrique de Almeida
Hey Nuo, Good it worked, and yes, enlarging the permgen size was just a palliative action. In fact, I forgot to check which version you were running (shame on me). But as I said, good to know that now it works smoothly. Cheers Adriano Almeida @adrianoalmeida7

Re: [Neo4j] Server couldn't start after java.lang.OutOfMemoryError

2011-09-07 Thread Peter Neubauer
Nice, glad to see it worked out! Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - Your high performance graph

Re: [Neo4j] Server couldn't start after java.lang.OutOfMemoryError

2011-09-07 Thread Nuo Yan
According to this: http://neo4j.org/forums/#nabble-td3248377, I upgraded to 1.4.1 and the problem goes away. I guess there must be a bug in the 1.4.0 REST API that leaks classloader memory or so, and GC didn't happen as expected in PermGen. Anyways, it looks great after upgrading to 1.4.1. Mem

Re: [Neo4j] Server couldn't start after java.lang.OutOfMemoryError

2011-09-06 Thread Nuo Yan
Hey Adriano and everyone, I finally got a chance to monitor/profile the neo4j process with VisualVM when I run my set of tests. It seems that after running the set of tests once, ~ 50M of PermGen was used. However, subsequent test runs simply multiples that, which worries me a little. After th

Re: [Neo4j] Server couldn't start after java.lang.OutOfMemoryError

2011-08-29 Thread Nuo Yan
Hey Adriano, Thanks so much for following up. I haven't had chance to profile the neo4j server yet due to other tasks on hand and meetings. I will find some time to do it this week and let you know. I did set -XX:MaxPermSize to 1024M though, and haven't got OutOfMemory yet after it. Thanks, Nuo

Re: [Neo4j] Server couldn't start after java.lang.OutOfMemoryError

2011-08-29 Thread Adriano Henrique de Almeida
Hi Nuo, any results here? Cheers 2011/8/26 Nuo Yan > Hey Adriano, > > Thanks very much for your reply. I will try with MaxPermSize. > > It's on my local machine, we are evaluating Neo4j and do not have it on > production yet. I'm accessing the server through the REST APIs, the app is > separate

Re: [Neo4j] Server couldn't start after java.lang.OutOfMemoryError

2011-08-26 Thread Nuo Yan
Hey Adriano, Thanks very much for your reply. I will try with MaxPermSize. It's on my local machine, we are evaluating Neo4j and do not have it on production yet. I'm accessing the server through the REST APIs, the app is separate from Neo. I will see if I can do some profiling on Neo when I run

Re: [Neo4j] Server couldn't start after java.lang.OutOfMemoryError

2011-08-26 Thread Adriano Henrique de Almeida
Hey Nuo, wrapper.java.maxmemory and Xmx won't help, since it is a PermGenSpace problem, and they only deal with HeapSpace. Did you try with: -XX:*MaxPermSize **?* Anyway, something very wrong is happening, since you have few nodes. It is happening only on production, or development also? If it i

Re: [Neo4j] Server couldn't start after java.lang.OutOfMemoryError

2011-08-26 Thread Jim Webber
Hi Nuo, if you're using Neo4j server then you can edit the value in conf/neo-wrapper.conf wrapper.java.maxmemory=1024 Jim ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo4j] Server couldn't start after java.lang.OutOfMemoryError

2011-08-26 Thread Nuo Yan
I later changed -Xmx to 1024m in the neo4j start script (./bin/neo4j line 109): JAVA_OPTS="-server ${wrapper_java_additional} -Xmx1024m" I only have a few thousands nodes so I thought 1G should be enough (when my tests run, new nodes are being created frequently, but total number of nodes is cert

Re: [Neo4j] Server couldn't start after java.lang.OutOfMemoryError

2011-08-26 Thread Mattias Persson
Tried with more memory? 2011/8/26 Nuo Yan > Hey Jim, > > It happened again and I'm pretty sure there was no other server process > running. > > Also this time when it crashed I saw this line in the console log (not > seeing this previously): > > Could not load hsdis-.jnilib; library not loadabl

Re: [Neo4j] Server couldn't start after java.lang.OutOfMemoryError

2011-08-25 Thread Nuo Yan
Hey Jim, It happened again and I'm pretty sure there was no other server process running. Also this time when it crashed I saw this line in the console log (not seeing this previously): Could not load hsdis-.jnilib; library not loadable; PrintAssembly is disabled When I tried to restart, data

Re: [Neo4j] Server couldn't start after java.lang.OutOfMemoryError

2011-08-23 Thread Nuo Yan
Sent through direct mail. Also one thing I forgot to mention was that for a few occasions that the server was able to start after a few tries after the error; other times I tried enough times and since it's my dev machine so I decided to clear/move the database and restart (which has always led to

Re: [Neo4j] Server couldn't start after java.lang.OutOfMemoryError

2011-08-23 Thread Mattias Persson
It would also be very useful if you could send data/db/messages.log (to me directly since the mailing list doesn't like attachments) after such an error. thanks, Mattias Den onsdagen den 24:e augusti 2011 skrev Nuo Yan: > I don't think another process was running but I'm not 100% certain (didn't

Re: [Neo4j] Server couldn't start after java.lang.OutOfMemoryError

2011-08-23 Thread Nuo Yan
I don't think another process was running but I'm not 100% certain (didn't check other than doing ./bin/neo4j status which shows not running). When it happens again I will check further and let you know. Thanks! Nuo On Tue, Aug 23, 2011 at 6:23 PM, Jim Webber wrote: > Hi Nuo, > > > process [262

Re: [Neo4j] Server couldn't start after java.lang.OutOfMemoryError

2011-08-23 Thread Jim Webber
Hi Nuo, > process [26266]... waiting for server to be > ready. > BAD. > another server-process is running with [] Just to check before we dig deeper, are you certain you don't h

[Neo4j] Server couldn't start after java.lang.OutOfMemoryError

2011-08-23 Thread Nuo Yan
The neo4j server refuses to start after getting a Java OutOfMemory Error. I was trying to start the server using the ./bin/neo4j start command. Starting neo4j-service...WARNING: not changing user process [26266]... waiting for server to be ready