I build a huge graph in JVM (Scala) which I want to use repeatedly, tweaking algorithms. I’d rather not reload it each time from disk. Is there a way to have it sit in one JVM while connecting from another, where the algorithms are being developed?
Share
Save your graph to disk, then map it into memory with MappedByteBuffer. Both processes should use the same memory, which will be shared with the page cache.