Hi,

I'm using the community edition.

I only have 2 nodes, bus and stop.
Relationship properties have arrival and departure time.
I have two inputs start and end point of a passenger at a particular time.

I loop through each input to determine their path,  a custom expander is to 
filter and find the correct relationships.

new CustomExpander implements PathExpander
The expand function returns a new FilteringIterable<Relationship>

I then search using the graphalgofactory paths with length 2.

My problem is my graph size is only 150mb and my heap size blows out to 
1.7gb of org.neo4j.graphdb.Relationships[]  and 897mb of 
org.graphalgo.impl.util.PathImpl.

I save the path in another object in an Arraylist<PropertyContainer> by 
iterating over the path and adding it to an arraylist so I can access it 
via index.

This is the only time a relationship/path is saved, but the object that 
this arraylist is in is not static and is discarded after each iteration of 
the for loop.


Anyone have any ideas?




-- 
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