messages.log extract available here: 
http://dl.dropbox.com/u/5216304/20110812-neo4j-messages.log


-- Tatham


-----Original Message-----
From: [email protected] [mailto:[email protected]] On 
Behalf Of Tatham Oddie
Sent: Friday, 12 August 2011 3:57 PM
To: Neo4j user discussions ([email protected])
Subject: [Neo4j] java.lang.OutOfMemoryError: PermGen space

Howdy,

We've started experiencing reasonably consistent java.lang.OutOfMemoryError 
exceptions.

We're using neo4j-community-1.4.M04-windows.zip, running on Windows 7 x64 for 
development + Windows Azure for production.

Graph access is exclusively via REST. We perform basic CRUD operations and 
Gremlin queries.

The server spins up like so:

    12/08/11 2:39:43 PM org.neo4j.server.NeoServerWithEmbeddedWebServer INFO: 
Starting Neo Server on port [5102] with [80] threads available
    12/08/11 2:39:43 PM org.neo4j.server.database.Database INFO: Using database 
at C:\AzureTemp\neo4j-db
    12/08/11 2:39:47 PM org.neo4j.server.modules.DiscoveryModule INFO: Mounted 
discovery module at [/]
    12/08/11 2:39:48 PM org.neo4j.server.plugins.PluginManager INFO: Loaded 
server plugin "CypherPlugin"
    12/08/11 2:39:48 PM org.neo4j.server.plugins.PluginManager INFO: Loaded 
server plugin "GremlinPlugin"
    12/08/11 2:39:48 PM org.neo4j.server.modules.RESTApiModule INFO: Mounted 
REST API at [/db/data/]
    12/08/11 2:39:48 PM org.neo4j.server.modules.ManagementApiModule INFO: 
Mounted management API at [/db/manage/]
    12/08/11 2:39:48 PM org.neo4j.server.modules.WebAdminModule INFO: Mounted 
webadmin at [/webadmin]
    12/08/11 2:39:48 PM org.neo4j.server.web.Jetty6WebServer INFO: Mounting 
static content at [/webadmin] from [webadmin-html]
    12/08/11 2:39:50 PM org.neo4j.server.NeoServerWithEmbeddedWebServer INFO: 
Server started on [http://192.168.10.151:5102/]

Then, after a relatively small number of queries (sub 500? still confirming 
more details), we get this:

    Exception in thread "RMI RenewClean-[192.168.10.151:31174]" 
java.lang.OutOfMemoryError: PermGen space
    Exception in thread "Statistics Gatherer" java.lang.OutOfMemoryError: 
PermGen space

Java.exe is still running, and consuming around 180MB of RAM (with another 3GB 
of physical memory still available on the system). REST API returns 500s and 
the WebAdmin is unavailable.

My questions:

    1) Is this just that we've got a configuration setting wrong? In my very 
limited knowledge of Java, I know we can reconfigure the size, but this seems 
to indicate a potentially larger issue.

    2) What should I do to gather more information to help diagnose this?


--
Tatham Oddie
au mob: +61 414 275 989, us cell: +1 415 598 8201, skype: tathamoddie If you're 
printing this email, you're doing it wrong. This is a computer, not a 
typewriter.

_______________________________________________
Neo4j mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user
_______________________________________________
Neo4j mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to