thanks, got it.
is there any way to monitor it ?, as orientdb-studio does not showing the
database(memory storage) .
and how could i know about total space used by my database?
Regards:
Arpit
On Monday, July 27, 2015 at 11:15:41 AM UTC+5:30, Arpit Jain wrote:
>
> Hello Members,
>
> I am facing a problem while using orient db in memory storage mode,
> 1. while storing the data i am using this
> public static void main(String[] args) {
> OrientGraph graph = new OrientGraph("memory:myMemoryDB");
>
> try {
> Vertex v1 = graph.addVertex(null);
> v1.setProperty("name", "v1");
>
> ..............
> ..............
> .............
>
>
>
> } finally {
> g.shutdown();
> }}
>
>
> 2. But while fetching data from other class
>
> public static void main(String[] args) {
> OrientGraph graph = new OrientGraph("memory:myMemoryDB");
>
> try {
> for (Vertex v : graph.getVertices()) {
>
> System.out.println(" id>>>" + v.getId());
>
>
>
> } finally {
> g.shutdown();
> }}
>
>
> i am not getting any data, but this works in case of plocal.
>
> please help me to resolve this problem
>
> Regards:
> Arpit
>
>
--
---
You received this message because you are subscribed to the Google Groups
"OrientDB" 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.