I have a graph with 690,024 nodes and 7,398,042 edges and want to visualize it. I have used graphviz's dot and gephi but both terminates because of low memory. Is there any way to fix this issue?
Gephi has a limit based on amount of memory allocated to it in JVM. Check this http://gephi.org/users/requirements/ to make changes.
I would suggest to use Stanford Network Analysis Platform (SNAP) .
The core SNAP library is written in C++ and optimized for maximum performance and compact graph representation.
It easily scales to massive networks with hundreds of millions of nodes, and billions of edges. It efficiently manipulates large graphs, calculates structural properties, generates regular and random graphs, and supports attributes on nodes and edges. Besides scalability to large graphs, an additional strength of SNAP is that nodes, edges and attributes in a graph or a network can be changed dynamically during the computation.