Java can't tell the difference between a real core and a virtual or hyperthreaded core. So I guess that would be 80 threads in your case.
-- Chris Vest System Engineer, Neo Technology [ skype: mr.chrisvest, twitter: chvest ] On 14 Mar 2014, at 23:39, Reihane Boghrati <[email protected]> wrote: > Thanks Chris, I'll check that. > One thing more, since the number of cores is 4, but the number of virtual > cores is 8, what is the max number of threads Neo4j server can support? 40 or > 80? (as the max num of threads is equal to 10* num of cores) > > On Friday, March 14, 2014 2:13:46 PM UTC-8, Chris Vest wrote: > The HotSpot JVM itself crashed. Try upgrading Java if a newer version is > available. > > If that does not help, then consider filing a bug report with Oracle. > > It's often possible to work around these by tweaking the JVM flags, but it's > bit of a black art, I'm afraid. > > -- > Chris Vest > System Engineer, Neo Technology > [ skype: mr.chrisvest, twitter: chvest ] > > > On 14 Mar 2014, at 20:53, Reihane Boghrati <[email protected]> wrote: > >> Hi, >> >> I'm using java-rest binding API to load my database. >> My client and server are on two different machines. The sever has 4 cores (8 >> virtual cores). >> I want to load the database with 100K user nodes, and 100 resource nodes. >> Each resource node has a "create" and a "createdfor" relationship with user >> node. >> The information for each node is generated on the fly. So I store thousand >> user node and then begin a transaction to store them in database. >> Also I'm using Cypher queries. >> I used -Xmx10G in environment variables. >> But while I was loading the database I encountered the below exception: >> >> >> [error occurred during error reporting (null), id 0xc0000005] >> >> # >> # A fatal error has been detected by the Java Runtime Environment: >> # >> # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000005e6837f7, >> pid=4412, tid=3420 >> # >> # JRE version: 7.0-b147 >> # Java VM: Java HotSpot(TM) 64-Bit Server VM (21.0-b17 mixed mode >> windows-amd64 compressed oops) >> # Problematic frame: >> # V [jvm.dll+0x1a37f7] >> >> Is there any explanation for this exception? >> >> -- >> 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. > > > -- > 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. -- 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.
