Unexpected error

Nov 6, 2016 at 9:45 AM
I keep getting this error when trying to upload to NodeXLGallery
This is for a relatively large search - APHA2016
Is this because of my machine (relatively new laptop with 8MB RAM) or something else?
Many thanks,

The graph represents a network of 4,213 Twitter users whose recent tweets contained "apha2016", or who were replied to or mentioned in those tweets, taken from a data set limited to a maximum of 9,000 tweets. The network was obtained from Twitter on Saturday, 05 November 2016 at 08:43 UTC.

The tweets in the network were tweeted over the 4-day, 8-hour, 43-minute period from Monday, 31 October 2016 at 23:41 UTC to Saturday, 05 November 2016 at 08:24 UTC. There is an edge for each "replies-to" relationship in a tweet, an edge for each "mentions" relationship in a tweet, and a self-loop edge for each tweet that is not a "replies-to" or "mentions".

The graph is directed.

The graph's vertices were grouped by cluster using the Clauset-Newman-Moore cluster algorithm.

The graph was laid out using the Harel-Koren Fast Multiscale layout algorithm.


Overall Graph Metrics
Unique Edges:7469
Edges With Duplicates:6288
Total Edges:13757
Reciprocated Vertex Pair Ratio:0.0662496808782231
Reciprocated Edge Ratio:0.124266730515982
Connected Components:406
Single-Vertex Connected Components:202
Maximum Vertices in a Connected Component:3244
Maximum Edges in a Connected Component:12586
Maximum Geodesic Distance (Diameter):14
Average Geodesic Distance:4.158735
Graph Density:0.000470720009449339

NodeXL Version:


An unexpected problem occurred. If it occurs again, please copy the details to the clipboard by typing Ctrl-C, then post the details to http://www.codeplex.com/NodeXL/Thread/List.aspx.


[OutOfMemoryException]: Exception of type 'System.OutOfMemoryException' was thrown.

at System.IO.BinaryReader.ReadBytes(Int32 count)

at Smrf.AppLib.FileUtil.ReadBinaryFile(String filePath)

at Smrf.NodeXL.ExcelTemplate.GraphExporterUtil.GetWorkbookContents(Workbook oWorkbook)

at Smrf.NodeXL.ExcelTemplate.GraphExporterUtil.GetDataToExport(Workbook workbook, NodeXLControl nodeXLControl, Boolean exportWorkbookAndSettings, Boolean exportGraphML, String zippedGraphMLFileName, Boolean useFixedAspectRatio, Byte[]& fullSizeImage, Byte[]& thumbnail, Byte[]& workbookContents, String& workbookSettings, Byte[]& graphMLZipped, Byte[]& brandImage)

at Smrf.NodeXL.ExcelTemplate.NodeXLGraphGalleryExporter.ExportToNodeXLGraphGallery(Workbook workbook, NodeXLControl nodeXLControl, String title, String description, String spaceDelimitedTags, String author, String password, Boolean exportWorkbookAndSettings, Boolean exportGraphML, Boolean useFixedAspectRatio)

at Smrf.NodeXL.ExcelTemplate.ExportToNodeXLGraphGalleryDialog.btnOK_Click(Object sender, EventArgs e)


Nov 11, 2016 at 5:15 PM

Thank you for the interest in NodeXL!

The error you received:
 [OutOfMemoryException]: Exception of type 'System.OutOfMemoryException' was thrown. 
Reports that the data volume has exceeded available RAM.

Big networks can benefit from 16GB or even 32 GB of RAM (assuming a 64 bit OS and Office are installed).


Marked as answer by MarcSmith on 11/11/2016 at 9:15 AM
Nov 14, 2016 at 10:27 PM
Edited Nov 14, 2016 at 10:27 PM
Thanks Marc, I've upgraded to 16GB RAM (my max) and can process more things that I've been managing to date. I'll need to work out how to upgrade OS and Office (I have a 64 bit machine but it appears to be a 32 bit operating system). C'est la vie. G