Ahmad, in your Neo4j-Server you have several configuration options which are not changeable via the REST API as for now.
- for the runtime environment (like JVM heap) - neo4j-wrapper.conf - for the actual neo4j database neo4j.properties (which can contain pre-set memory-mapping configuration) as Neo4j is intended to run as a dedicated database or database server it also assumes that you are willing to provide all the RAM of the machine to its operation. So the JVM takes the heap size you've assigned and the rest of the available memory is used for caching of memory-mapped store-files. The heap is used for the actual neo4j operations and the caching of nodes and relationships. If you don't want that, you should configure the heap in the neo4j-wrapper.conf and the memory-mapping options in the neo4j.properties file. What are the values representing? Why are those two-dimensional arrays? If those hashmaps really represent the state of your nodes the it is really worth a try to to store them as native node properties this should also make your graph operations easier. (I don't promise anything for store size, this might improve dramatically with the Neo4j store changes that are currently worked on). Michael Am 09.08.2011 um 11:08 schrieb ahmad.bakr: > Michael, > > Thanks for the links, i see i can optimize the disk space by not maintaining > the logical logs. So for you questions: > > "Hmm quite a lot of entries per table, are they all the same (or of the same > subset?") > No, the entries are quite different, actually each node is designed to hold > a hashtable with different keys (so keys are different from node to > another). > > "Do many of those values just contain default values like false, 0 or the > empty string?" > No the values are json representations of arrays of two entries > > "Do you access these json-hashmaps in graph operations ?" > Yes, i do. Actually, the hashtables reflect the state of the node, i always > modify them during graph operations. > > However lets start with what is possible for now, i need to know if there is > a way to modify the configurations of Neo4j using REST API (for example make > logical logs to false, Cache settings,.. etc.) or there is a config file in > Neo4j that i can do this task? > > I also have another problem that neo4j is taking around 1.4 GB from my RAM ? > so any suggestions :) > > Thanks, > Ahmad > > -- > View this message in context: > http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-Neo4j-Disk-Space-Usage-tp3235564p3238353.html > Sent from the Neo4j Community Discussions mailing list archive at Nabble.com. > _______________________________________________ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user _______________________________________________ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user