Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8339297
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T04:50:52+00:00 2026-06-09T04:50:52+00:00

I am trying to deal with a super-massive NetworkX Graph object with hundreds of

  • 0

I am trying to deal with a super-massive NetworkX Graph object with hundreds of millions of nodes. I’d like to be able to write it to file as to not consume all my computer memory. However, I need to constantly be searching across existing nodes, updating edges, etc.

Is there a good solution for this? I’m not sure how it would work with any of the file formats provided on http://networkx.lanl.gov/reference/readwrite.html

The only solution i can think of is to store each node as a separate file with references to other nodes in the filesystem – that way, opening one node for examination doesn’t overload the memory. Is there an existing filesystem for large amounts of data (e.g. PyTables) to do this without writing my own boilerplate code?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T04:50:54+00:00Added an answer on June 9, 2026 at 4:50 am

    If you’ve built this as a NetworkX graph, then it will already be in memory. For this large of a graph, my guess is you’ll have to do something similar to what you suggested with separate files. But, instead of using separate files, I’d use a database to store each node with many-to-many connections between nodes. In other words you’d have a table of nodes, and a table of edges, then to query for the neighbors of a particular node you could just query for any edges that have that particular node on either end. This should be fast, though I’m not sure if you’ll be able to take advantage of NetworkX’s analysis functions without first building the whole network in memory.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

So here's the deal: I'm trying to open a file (from bytes), convert it
I'm trying to make a little console application that is able to deal with
Here's the deal. I'm trying to write an arkanoid clone game and the thing
So heres the deal. I've got an html file, with an id=followers. I'm trying
I'm familiar with SQL but not Crystal Reports. I'm trying to deal with an
Given this file, I'm trying to do a super primitive sed or perl replacement
here's the deal: I'm trying to make a colorpicker act much like in Photoshop,
First time trying to deal with users logging in with ASP.net and haven't had
I'm trying to deal with @javax.faces.bean.ManagedProperty but without success ! I've been following this
I am having an issue trying to deal with timezones in the JQuery date/time

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.